From 8740cc57feb764a22caee4931ee9075e2f9dcb3e Mon Sep 17 00:00:00 2001 From: Asmir A Date: Tue, 15 Oct 2024 04:03:50 +0200 Subject: [PATCH] home/sway: add tessen shortcut --- home/sway.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/home/sway.nix b/home/sway.nix index 063307a..4fb629f 100644 --- a/home/sway.nix +++ b/home/sway.nix @@ -3,6 +3,7 @@ pkgs, inputs, system, + lib, ... }: let cliphist_sway = pkgs.writeShellScriptBin "cliphist_sway" '' @@ -22,7 +23,7 @@ in { wayland.windowManager.sway = { enable = true; extraSessionCommands = ""; - extraConfigEarly = '' ''; + extraConfigEarly = ''''; config = { fonts = { @@ -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"; }; }; };