mirror of
https://github.com/lelgenio/wl-crosshair.git
synced 2025-07-24 17:15:54 -03:00
Add support for loading any image, add some default cursors
This commit is contained in:
parent
081f6bed69
commit
d642e72c48
8 changed files with 1009 additions and 48 deletions
|
@ -19,6 +19,13 @@
|
|||
version = "0.1.0";
|
||||
src = ./.;
|
||||
cargoLock.lockFile = ./Cargo.lock;
|
||||
nativeBuildInputs = with pkgs; [ makeWrapper ];
|
||||
postInstall = ''
|
||||
mkdir -p $out/share
|
||||
cp -rv ${./cursors} $out/share/cursors
|
||||
wrapProgram $out/bin/* \
|
||||
--set WL_CROSSHAIR_IMAGE_PATH $out/share/cursors/inverse-v.png
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue