.dotfiles/dot_config/flake/home/darkman.nix
2025-09-02 19:30:43 -04:00

38 lines
793 B
Nix

{pkgs, ...}: {
services.darkman = {
enable = true;
settings = {
usegeoclue = true;
};
lightModeScripts = {
# fish = ''
# yes | fish_config theme save "Rosé Pine Dawn"
# '';
gtk-theme = ''
${pkgs.dconf}/bin/dconf write \
/org/gnome/desktop/interface/color-scheme "'prefer-light'"
'';
noctalia = ''
noctalia-shell ipc call darkMode setLight
'';
};
darkModeScripts = {
gtk-theme = ''
${pkgs.dconf}/bin/dconf write \
/org/gnome/desktop/interface/color-scheme "'prefer-dark'"
'';
noctalia = ''
noctalia-shell ipc call darkMode setDark
'';
# fish = ''
# yes | fish_config theme save "Rosé Pine"
# '';
};
};
}