darkman
Darkman is a daemon which runs user-defined scripts depending on the time of day.
Every code block in this document is contained in its own unique file, we can therefore consider them fully-fledged scripts.
- Code blocks underneath "Dark" sections are located in
$XDG_DATA_HOME/dark-mode.d
and have the executable bit set. - Code blocks underneath "Light" sections are located in
$XDG_DATA_HOME/light-mode.d
and also have the executable bit set.
Although it may not be apparent, every one of these scripts does indeed begin with a shebang.
1. GTK
1.1. Dark
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
1.2. Light
gsettings set org.gnome.desktop.interface color-scheme 'prefer-light'