From adc163c9e3c25b42d175f927720a0e92067fdac6 Mon Sep 17 00:00:00 2001 From: vorboyvo Date: Wed, 11 Dec 2024 11:06:13 -0500 Subject: [PATCH] Added shortcuts Mod+Home and Mod+End to move workspaces to different displays. --- snippets/sway.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/snippets/sway.nix b/snippets/sway.nix index ca6cf3e..431bb9f 100644 --- a/snippets/sway.nix +++ b/snippets/sway.nix @@ -70,6 +70,8 @@ in { } // { "${mod}+space" = ''input "*" xkb_switch_layout next''; "${mod}+Shift+l" = "exec swaylock -f"; + "${mod}+Home" = "move workspace to output left"; + "${mod}+End" = "move workspace to output right"; } // { }); menu = "j4-dmenu-desktop --no-generic --term=${ terminal