feat: Vimix cursors packaged
This commit is contained in:
parent
998779781c
commit
63c0942fb9
2 changed files with 38 additions and 3 deletions
|
@ -1,4 +1,8 @@
|
|||
{pkgs, ...}: {
|
||||
{pkgs, ...}:
|
||||
let
|
||||
vimix-cursors = (pkgs.callPackage ./vimix-cursors.nix { });
|
||||
in
|
||||
{
|
||||
stylix = {
|
||||
image = pkgs.fetchurl {
|
||||
url = "https://git.kdb424.xyz/kdb424/wallpapers/raw/branch/main/wallhaven-7p3we9.png";
|
||||
|
@ -42,8 +46,8 @@
|
|||
};
|
||||
};
|
||||
cursor = {
|
||||
package = pkgs.nordzy-cursor-theme;
|
||||
name = "Nordzy-cursors";
|
||||
package = vimix-cursors;
|
||||
name = "dist";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
31
common/style/vimix-cursors.nix
Normal file
31
common/style/vimix-cursors.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ stdenvNoCC
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "vimix-cursor-theme";
|
||||
version = "9bc292f40904e0a33780eda5c5d92eb9a1154e9c";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vinceliuice";
|
||||
repo = "Vimix-cursors";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-zW7nJjmB3e+tjEwgiCrdEe5yzJuGBNdefDdyWvgYIUU=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/icons
|
||||
cp -r dist{,-white} $out/share/icons
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "An x-cursor theme inspired by Materia design and based on capitaine-cursors.";
|
||||
homepage = "https://github.com/vinceliuice/Vimix-cursors";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [
|
||||
kdb424
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Reference in a new issue