From 21a5731bfd72cca5ae3ebb34a3941f0ea2445bb8 Mon Sep 17 00:00:00 2001 From: Jeremy Kaplan Date: Fri, 19 Jul 2024 23:08:55 -0400 Subject: [PATCH] sway: Add move mode bindings --- sway/config | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/sway/config b/sway/config index 5c65e8b..14daae5 100644 --- a/sway/config +++ b/sway/config @@ -125,6 +125,23 @@ mode "resize" { } bindsym $super+r mode "resize" +mode "move" { + bindsym $left move left 10px + bindsym $down move down 10px + bindsym $up move up 10px + bindsym $right move right 10px + + bindsym Left move left 10px + bindsym Down move down 10px + bindsym Up move up 10px + bindsym Right move right 10px + + # Return to default mode + bindsym Return mode "default" + bindsym Escape mode "default" +} +bindsym $super+m mode "move" + bar { swaybar_command waybar }