feat: add darkman config
This commit is contained in:
parent
b4ecaee3b7
commit
1e947632d7
5 changed files with 26 additions and 0 deletions
4
darkman/.config/darkman/config.yaml
Normal file
4
darkman/.config/darkman/config.yaml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
lat: 43.7
|
||||||
|
lng: 7.2
|
||||||
|
dbusserver: true
|
||||||
|
portal: true
|
5
darkman/.local/share/dark-mode.d/gtk-theme.sh
Executable file
5
darkman/.local/share/dark-mode.d/gtk-theme.sh
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
gsettings set org.gnome.desktop.interface color-scheme prefer-dark
|
||||||
|
gsettings set org.gnome.desktop.interface gtk-theme Adwaita-dark
|
||||||
|
|
6
darkman/.local/share/dark-mode.d/notification.sh
Executable file
6
darkman/.local/share/dark-mode.d/notification.sh
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# trigger a small, passive popup dialog to inform the user about darkman's activity
|
||||||
|
# reference https://wiki.archlinux.org/title/Desktop_notifications#Usage_in_programming
|
||||||
|
|
||||||
|
notify-send --app-name="darkman" --urgency=low --icon=weather-clear-night "switching to dark mode"
|
5
darkman/.local/share/light-mode.d/gtk-theme.sh
Executable file
5
darkman/.local/share/light-mode.d/gtk-theme.sh
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
gsettings set org.gnome.desktop.interface color-scheme prefer-light
|
||||||
|
gsettings set org.gnome.desktop.interface gtk-theme Adwaita
|
||||||
|
|
6
darkman/.local/share/light-mode.d/notification.sh
Executable file
6
darkman/.local/share/light-mode.d/notification.sh
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# trigger a small, passive popup dialog to inform the user about darkman's activity
|
||||||
|
# reference https://wiki.archlinux.org/title/Desktop_notifications#Usage_in_programming
|
||||||
|
|
||||||
|
notify-send --app-name="darkman" --urgency=low --icon=weather-clear "switching to light mode"
|
Loading…
Add table
Reference in a new issue