Added basic GTK theming support.
Still need to add: 1. Icons 2. Cursor 3. Fallbacks
This commit is contained in:
parent
fd220567df
commit
dae29eba34
|
@ -5,6 +5,7 @@
|
||||||
../cli.nix
|
../cli.nix
|
||||||
../fonts.nix
|
../fonts.nix
|
||||||
../sway.nix
|
../sway.nix
|
||||||
|
../system/gtk.nix
|
||||||
./minimal.nix
|
./minimal.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
18
modules/system/gtk.nix
Normal file
18
modules/system/gtk.nix
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{ config, pkgs, ... }: {
|
||||||
|
home-manager.users.james = {
|
||||||
|
home.packages = with pkgs; [ dracula-theme ];
|
||||||
|
home.sessionVariables = { GTK_THEME = "Dracula"; };
|
||||||
|
|
||||||
|
xdg.configFile."gtk-3.0/settings.ini".text = ''
|
||||||
|
[Settings]
|
||||||
|
gtk-theme-name=Dracula
|
||||||
|
#gtk-icon-theme-name=
|
||||||
|
#gtk-cursor-theme-name=
|
||||||
|
gtk-fallback-icon-theme=gnome
|
||||||
|
gtk-application-prefer-dark-theme=true
|
||||||
|
gtk-xft-hinting=1
|
||||||
|
gtk-xft-hintstyle=hintfull
|
||||||
|
gtk-xft-rgba=none
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
Reference in New Issue
Block a user