nixos/gnome: set theme for gtk-3 apps
This commit is contained in:
parent
6c64393312
commit
c188003188
1 changed files with 7 additions and 1 deletions
|
@ -81,8 +81,14 @@ in
|
||||||
# unstablePkgs.gnomeExtensions.translate-indicator
|
# unstablePkgs.gnomeExtensions.translate-indicator
|
||||||
# translate-shell
|
# translate-shell
|
||||||
pavucontrol
|
pavucontrol
|
||||||
#FIXME: Apply the cursor theme also in GTK3 config
|
|
||||||
google-cursor
|
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