services.darkman.darkModeScripts
Scripts to run when switching to "dark mode".
Multiline strings are interpreted as Bash shell scripts and a shebang is not required.
- Type
attribute set of (absolute path or strings concatenated with "\n")- Default
{ }- Example
{ gtk-theme = '' ${pkgs.dconf}/bin/dconf write \ /org/gnome/desktop/interface/color-scheme "'prefer-dark'" ''; my-python-script = pkgs.writers.writePython3 "my-python-script" { } '' print('Do something!') ''; }- Declared
- <home-manager/modules/services/darkman.nix>