2022-08-14 23:35:15 +00:00
|
|
|
{ config, lib, pkgs, user, ... }:
|
2022-08-14 02:42:04 +00:00
|
|
|
let graphical = config.my.graphical;
|
2022-08-14 23:35:15 +00:00
|
|
|
in
|
|
|
|
with lib; {
|
2021-12-15 04:58:51 +00:00
|
|
|
config = mkIf graphical.enable {
|
2022-08-14 23:35:15 +00:00
|
|
|
home-manager.users."${user.name}" = {
|
2022-05-03 04:11:02 +00:00
|
|
|
home.packages = with pkgs; [ dracula-theme kora-icon-theme ];
|
2021-12-15 04:58:51 +00:00
|
|
|
home.sessionVariables = { GTK_THEME = "Dracula"; };
|
2022-03-25 00:30:00 +00:00
|
|
|
systemd.user.sessionVariables = { GTK_THEME = "Dracula"; };
|
2021-12-01 04:39:26 +00:00
|
|
|
|
2021-12-15 04:58:51 +00:00
|
|
|
xdg.configFile."gtk-3.0/settings.ini".text = ''
|
|
|
|
[Settings]
|
|
|
|
gtk-theme-name=Dracula
|
2022-03-24 22:04:13 +00:00
|
|
|
gtk-icon-theme-name=kora
|
2021-12-15 04:58:51 +00:00
|
|
|
gtk-fallback-icon-theme=gnome
|
|
|
|
gtk-application-prefer-dark-theme=true
|
|
|
|
gtk-xft-hinting=1
|
|
|
|
gtk-xft-hintstyle=hintfull
|
|
|
|
gtk-xft-rgba=none
|
|
|
|
'';
|
|
|
|
};
|
2021-12-01 04:39:26 +00:00
|
|
|
};
|
|
|
|
}
|