From a79156853047eac439526df19950f71a8c43e30f Mon Sep 17 00:00:00 2001 From: "Lennart J. Kurzweg (Nx2)" Date: Sat, 29 Jun 2024 21:53:49 +0200 Subject: [PATCH] bibata cursor --- home-modules/gtk.nix | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/home-modules/gtk.nix b/home-modules/gtk.nix index 8e9e5a5..989ea3b 100755 --- a/home-modules/gtk.nix +++ b/home-modules/gtk.nix @@ -1,4 +1,4 @@ -{ config, pkgs, pkgs-unstable, lib, user, ... }: +{ config, pkgs, pkgs-unstable, lib, rice, user, ... }: let theme-name = "Catppuccin-Macchiato-Compact-Pink-Dark"; theme-package = pkgs.catppuccin-gtk.override { @@ -17,6 +17,7 @@ lib.mkIf (user != "tv") gtk3 gtk4 catppuccin-gtk + bibata-cursors ] ++ [ # pkgs-unstable.themix-gui ]; @@ -36,20 +37,13 @@ lib.mkIf (user != "tv") gtk4.extraConfig = { gtk-application-prefer-dark-theme = 1; }; - cursorTheme = { - name = "Catppuccin-Mocha-Pink-Cursors"; - package = pkgs.catppuccin-cursors.mochaPink; - size = 20; - }; + cursorTheme = rice.cursor; }; home.pointerCursor = { gtk.enable = true; x11.enable = true; - package = pkgs.catppuccin-cursors.mochaPeach; - name = "Catppuccin-Mocha-Pink-Cursors"; - size = 20; - }; + } // rice.cursor; xdg.configFile = { "gtk-4.0/assets".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/assets";