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;
bingwp = config.packages.bingwp;
screenshot = config.packages.screenshot;
cursors = config.packages.cursors;
})
inputs.sal.overlays.default
];

View File

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

View File

@ -83,6 +83,16 @@ top@{ inputs, ... }: {
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=";
};
});
};
};
}