nixos/gnome: set theme for gtk-3 apps
This commit is contained in:
parent
6c64393312
commit
823a2c6952
1 changed files with 7 additions and 0 deletions
|
@ -84,5 +84,12 @@ in
|
|||
#FIXME: Apply the cursor theme also in GTK3 config
|
||||
google-cursor
|
||||
];
|
||||
|
||||
environment.etc."xdg/gtk-3.0/settings.ini".text = ''
|
||||
[Settings]
|
||||
gtk-cursor-theme-name=${config.proot.dconf.rules."org/gnome/desktop/interface".cursor-theme}
|
||||
'' + lib.optionalString (lib.hasInfix "dark" config.proot.dconf.rules."org/gnome/desktop/interface".color-scheme) ''
|
||||
gtk-application-prefer-dark-theme=true
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue