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"; }; }; };