From 098f38e12ccc6317d7fe101e7de3e0d62c84cc86 Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Sat, 27 Dec 2025 08:57:18 -0600 Subject: tweak gtk config --- modules/desktop/hjem/gtk.nix | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'modules') 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") { -- cgit v1.3.1