.dotfiles/dot_config/flake/home/darkman.nix
Tyler Mayoff 7ccdf27209 niri (#39)
Reviewed-on: https://codeberg.org/tmayoff/.dotfiles/pulls/39
Co-authored-by: Tyler Mayoff <tyler@tylermayoff.com>
Co-committed-by: Tyler Mayoff <tyler@tylermayoff.com>
2025-08-31 20:06:20 +02:00

30 lines
632 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'"
'';
};
darkModeScripts = {
gtk-theme = ''
${pkgs.dconf}/bin/dconf write \
/org/gnome/desktop/interface/color-scheme "'prefer-dark'"
'';
# fish = ''
# yes | fish_config theme save "Rosé Pine"
# '';
};
};
}