From 1f494f781d1aba019ea45a3bba8dfc14983d4f2e Mon Sep 17 00:00:00 2001 From: Lucas Chaim Date: Sun, 4 Aug 2024 14:57:31 -0300 Subject: [PATCH] fix: Cursor theme Move to stylix, I didn't realize it was overwriting my existing gnome-specific configuration --- modules/home/de/gnome/theming/default.nix | 4 ++-- modules/shared/theming/default.nix | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/modules/home/de/gnome/theming/default.nix b/modules/home/de/gnome/theming/default.nix index 0a38cef..2356441 100644 --- a/modules/home/de/gnome/theming/default.nix +++ b/modules/home/de/gnome/theming/default.nix @@ -41,8 +41,8 @@ in }; gtk.cursorTheme = mkIf cfg.enableCursorTheme { - name = "Catppuccin-Latte-Light-Cursors"; - package = pkgs.catppuccin-cursors.latteLight; + name = mkDefault "catppuccin-latte-light-cursors"; + package = mkDefault pkgs.catppuccin-cursors.latteLight; }; dconf.settings."org/gnome/shell/extensions/user-theme" = mkIf cfg.enableGnomeShellTheme { diff --git a/modules/shared/theming/default.nix b/modules/shared/theming/default.nix index 099e793..4cdaea4 100644 --- a/modules/shared/theming/default.nix +++ b/modules/shared/theming/default.nix @@ -11,6 +11,11 @@ with lib; ); polarity = mkDefault "dark"; base16Scheme = mkDefault "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml"; + cursor = { + name = "catppuccin-latte-light-cursors"; + package = pkgs.catppuccin-cursors.latteLight; + size = 32; + }; fonts.monospace = mkDefault { name = mkDefault "JetBrainsMono"; package = mkDefault (pkgs.nerdfonts.override { fonts = [ "JetBrainsMono" ]; });