add wayland crosshair thing

This commit is contained in:
xunuwu 2025-06-19 01:54:24 +02:00
parent ef0d4ee223
commit f9a2243893
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
3 changed files with 88 additions and 8 deletions

View file

@ -156,6 +156,12 @@
prismlauncher
inputs.sobercookie.packages.${pkgs.system}.default
self.packages.${pkgs.system}.krunker
(writeScriptBin "crosshair-overlay" ''
${lib.getExe bubblewrap} \
--ro-bind / / \
--chdir "$XDG_PICTURES_DIR" \
-- ${inputs.crosshair-overlay.packages.${pkgs.system}.default}/bin/crosshair-overlay $@
'')
];
home = {