fix catppuccin cursors

This commit is contained in:
Ivan Kirilov Dimitrov 2024-07-07 13:39:48 +02:00
parent 82c4bfe778
commit 9f44008493
No known key found for this signature in database
GPG Key ID: 0BDAD4B211C49294
3 changed files with 13 additions and 2 deletions

View File

@ -11,6 +11,7 @@ top@{ inputs, ... }: {
nvim = config.packages.nvim; nvim = config.packages.nvim;
bingwp = config.packages.bingwp; bingwp = config.packages.bingwp;
screenshot = config.packages.screenshot; screenshot = config.packages.screenshot;
cursors = config.packages.cursors;
}) })
inputs.sal.overlays.default inputs.sal.overlays.default
]; ];

View File

@ -56,8 +56,8 @@ toplevel@{ moduleWithSystem, ... }: {
MAKEFLAGS = "-j 4"; MAKEFLAGS = "-j 4";
}; };
pointerCursor = with pkgs; { pointerCursor = with pkgs; {
name = lib.mkForce "BreezeX-RosePineDawn-Linux"; name = "catppuccin-mocha-green-cursors";
package = lib.mkForce rose-pine-cursor; package = catppuccin-cursors.mochaGreen;
size = 24; size = 24;
gtk.enable = true; gtk.enable = true;
}; };

View File

@ -83,6 +83,16 @@ top@{ inputs, ... }: {
copy_image copy_image
} }
''; '';
cursors = pkgs.catppuccin-cursors.overrideAttrs (prev: rec {
version = "0.3.1";
nativeBuildInputs = prev.nativeBuildInputs ++ [ pkgs.xcur2png ];
src = pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "cursors";
rev = "v${version}";
hash = "sha256-CuzD6O/RImFKLWzJoiUv7nlIdoXNvwwl+k5mTeVIY10=";
};
});
}; };
}; };
} }