home/sway: add tessen shortcut

This commit is contained in:
Asmir A 2024-10-15 04:03:50 +02:00
parent f7eda08683
commit 8740cc57fe
Signed by: asmir
GPG Key ID: 020C42B7A9ABA3E2

View File

@ -3,6 +3,7 @@
pkgs,
inputs,
system,
lib,
...
}: let
cliphist_sway = pkgs.writeShellScriptBin "cliphist_sway" ''
@ -130,6 +131,7 @@ in {
"Mod4+j" = "exec ${pkgs.sway}/bin/swaymsg [app_id=com.viber] scratchpad show || exec ${viber}/bin/viber";
"Mod4+y" = ''
exec ${pkgs.sway}/bin/swaymsg [app_id="pulsemixer"] scratchpad show || exec ${term} -a pulsemixer ${pkgs.pulsemixer}/bin/pulsemixer'';
"Mod4+p" = "exec ${lib.getExe pkgs.tessen} -a copy";
};
};
};