diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-12-27 08:57:18 -0600 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-12-27 08:57:18 -0600 |
| commit | 098f38e12ccc6317d7fe101e7de3e0d62c84cc86 (patch) | |
| tree | 65a9821ec3eb74b1a22a66b4d990713f6462ca3f /modules/desktop/hjem | |
| parent | 6cea964db94f876e8363f0a609160599d53c274c (diff) | |
tweak gtk config
Diffstat (limited to 'modules/desktop/hjem')
| -rw-r--r-- | modules/desktop/hjem/gtk.nix | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/modules/desktop/hjem/gtk.nix b/modules/desktop/hjem/gtk.nix index 4665bac..0e3f9b1 100644 --- a/modules/desktop/hjem/gtk.nix +++ b/modules/desktop/hjem/gtk.nix @@ -10,27 +10,27 @@ in packages = with pkgs; [ dconf - papirus-icon-theme cfg.cursor_data.package cfg.theme_data.package ]; - xdg.config.files = let - value.Settings = { - gtk-cursor-theme-name = cfg.cursor_data.name; - gtk-cursor-theme-size = 24; - gtk-icon-theme-name = "Papirus"; - gtk-theme-name = cfg.theme_data.name; - }; - in + xdg.config.files = { "gtk-3.0/settings.ini" = { generator = lib.generators.toINI {}; - inherit value; + value.Settings = { + gtk-cursor-theme-name = cfg.cursor_data.name; + gtk-cursor-theme-size = 24; + gtk-theme-name = cfg.theme_data.name; + }; }; "gtk-4.0/settings.ini" = { generator = lib.generators.toINI {}; - inherit value; + value.Settings = { + gtk-cursor-theme-name = cfg.cursor_data.name; + gtk-cursor-theme-size = 24; + gtk-theme-name = lib.mkIf (cfg.theme_data.name != "adw-gtk3") cfg.theme_data.name; + }; }; } // lib.optionalAttrs (cfg.theme == "catppuccin") { |
