mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix: use posy's cursor
This commit is contained in:
parent
261cadf747
commit
1c6b0131d5
4 changed files with 39 additions and 6 deletions
|
|
@ -36,6 +36,8 @@
|
|||
fish-lsp = pkgs.callPackage ./fish-lsp { };
|
||||
maeel = pkgs.callPackage ./maeel.nix { };
|
||||
tokei = pkgs.callPackage ./tokei { }; # alpha tokei with typst, skel, hledger
|
||||
|
||||
posy-cursor = pkgs.callPackage ./posy-cursor.nix { };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
26
nix/custom/posy-cursor.nix
Normal file
26
nix/custom/posy-cursor.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
let
|
||||
rev = "bd2bac08bf01e25846a6643dd30e2acffa9517d4";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "posy-cursor";
|
||||
version = lib.substring 0 7 rev;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "leana8959";
|
||||
repo = "posy-improved-cursor-linux";
|
||||
inherit rev;
|
||||
hash = "sha256-ndxz0KEU18ZKbPK2vTtEWUkOB/KqA362ipJMjVEgzYQ=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
install -dm 0755 $out/share/icons
|
||||
cp -r Posy_Cursor* $out/share/icons
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue