1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat: showkeys-toggle to enable/disable screenkey

This commit is contained in:
2020-10-27 12:02:45 +01:00
parent 6c42159df0
commit 0cf4bdddf0
3 changed files with 11 additions and 0 deletions

View File

@@ -21,6 +21,14 @@ in rec {
name = "instaget";
};
showkeys-toggle = pkgs.writers.writeDashBin "showkeys-toggle" ''
if ${pkgs.procps}/bin/pgrep screenkey; then
exec ${pkgs.procps}/bin/pkill screenkey
else
exec ${pkgs.screenkey}/bin/screenkey
fi
'';
tag = wrapScript {
packages = [ pkgs.vorbisTools pkgs.python3Packages.eyeD3 pkgs.nur.repos.kmein.opustags ];
script = "${voidrice}/.local/bin/tag";