services.darkman.lightModeScripts
Home-Manager option
Scripts to run when switching to “light 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
declared in: <home-manager/modules/services/darkman.nix>source unavailable{ gtk-theme = '' ${pkgs.dconf}/bin/dconf write \ /org/gnome/desktop/interface/color-scheme "'prefer-light'" ''; my-python-script = pkgs.writers.writePython3 "my-python-script" { } '' print('Do something!') ''; }