services/gtk: add theme package and session variables
This commit is contained in:
parent
0599562807
commit
2fb09d12d6
1 changed files with 6 additions and 0 deletions
|
@ -35,9 +35,15 @@ in {
|
|||
".config/gtk-4.0/gtk.css".source = gtkCss;
|
||||
};
|
||||
packages = with styleCfg; [
|
||||
gtk.theme.package
|
||||
cursorTheme.package
|
||||
gtk.iconTheme.package
|
||||
];
|
||||
|
||||
environment.sessionVariables = {
|
||||
GTK2_RC_FILES = "${config.hjem.users.${username}.directory}/.gtkrc-2.0";
|
||||
GTK_THEME = "${gtkSettings.gtk-theme-name}";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue