darkman and organization

This commit is contained in:
Tyler Mayoff 2025-02-16 09:27:21 -05:00
parent 69564baaf4
commit ddbc68fb9c
7 changed files with 39 additions and 220 deletions

View file

@ -0,0 +1,22 @@
{pkgs, ...}: {
services.darkman = {
enable = true;
settings = {
usegeoclue = true;
};
lightModeScripts = {
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'"
'';
};
};
}