From 2366e81db0799d6e811a31fb18e3c4c9466a5eed Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Sun, 3 Nov 2024 13:43:16 +0000 Subject: Add swap & resize window keybindings to sway config --- dot-config/sway/config | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dot-config/sway/config b/dot-config/sway/config index e030aa8..fb2bfe5 100644 --- a/dot-config/sway/config +++ b/dot-config/sway/config @@ -129,6 +129,18 @@ bindsym $mod+$left focus left bindsym $mod+$right focus right bindsym $mod+a focus parent +# Swap window +bindsym $mod+Shift+$up move up 20px +bindsym $mod+Shift+$down move down 20px +bindsym $mod+Shift+$left move left 20px +bindsym $mod+Shift+$right move right 20px + +# Resize window +bindsym $mod+Control+$up resize grow height 20px +bindsym $mod+Control+$down resize shrink height 20px +bindsym $mod+Control+$left resize shrink width 20px +bindsym $mod+Control+$right resize grow width 20px + # Switch to workspace bindsym $mod+1 workspace number 1 bindsym $mod+2 workspace number 2 -- cgit