Added basic GTK theming support.

Still need to add:

  1. Icons
  2. Cursor
  3. Fallbacks
This commit is contained in:
James Patrick 2021-11-30 23:39:26 -05:00
parent fd220567df
commit dae29eba34
2 changed files with 19 additions and 0 deletions

View File

@ -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
View 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
'';
};
}