From 5aa7efd65ab94d3bb2e1a158fed7dc8aa77f2f17 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Fri, 25 Dec 2020 18:30:55 +0300 Subject: [PATCH] Add a keybinding to move to another output --- modules/workspace/sway/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/workspace/sway/default.nix b/modules/workspace/sway/default.nix index c85247f..7c30e87 100755 --- a/modules/workspace/sway/default.nix +++ b/modules/workspace/sway/default.nix @@ -168,7 +168,8 @@ in { script "screenshot-area-copy" '' ${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp)" - | ${pkgs.wl-clipboard}/bin/wl-copy''; - "${modifier}+x" = "move workspace to output right"; + "${modifier}+x" = "focus output right"; + "${modifier}+Shift+x" = "move workspace to output right"; "${modifier}+F5" = "reload"; "${modifier}+Shift+F5" = "exit"; "${modifier}+Shift+h" = "layout splith"; @@ -181,7 +182,7 @@ in { "${modifier}+F12" = "output * dpms on"; "${modifier}+End" = "exec ${lock}"; "${modifier}+p" = "sticky toggle"; - "${modifier}+z" = + "${modifier}+backslash" = script "0x0" ''wl-paste | curl -F"file=@-" https://0x0.st | wl-copy''; "${modifier}+b" = "focus mode_toggle"; "${modifier}+Space" = script "lambda-launcher"