diff options
| author | Blake Romero <blake@blkrom.com> | 2024-11-01 19:00:13 +0000 |
|---|---|---|
| committer | Blake Romero <blake@blkrom.com> | 2024-11-01 19:00:13 +0000 |
| commit | 18f6757abeb1a1c733865238d8b0386567ffdcdd (patch) | |
| tree | 07ad90950d53fe49364664cc47155796b6df25c3 /dot-config/sway/config | |
| parent | 7f85a76ba7a219536237fdfca430cf3840a68c61 (diff) | |
Add resize bindings to sway
Diffstat (limited to 'dot-config/sway/config')
| -rw-r--r-- | dot-config/sway/config | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dot-config/sway/config b/dot-config/sway/config index 0c33a47..4345277 100644 --- a/dot-config/sway/config +++ b/dot-config/sway/config @@ -112,3 +112,19 @@ bindsym $mod+Shift+7 move container to workspace number 7 bindsym $mod+Shift+8 move container to workspace number 8 bindsym $mod+Shift+9 move container to workspace number 9 bindsym $mod+Shift+0 move container to workspace number 0 + +bindsym $mod+z mode "resize" +mode "resize" { + bindsym $up resize shrink height 10px + bindsym $down resize grow height 10px + bindsym $left resize shrink width 10px + bindsym $right resize grow width 10px + + bindsym Up resize shrink height 10px + bindsym Down resize grow height 10px + bindsym Left resize shrink width 10px + bindsym Right resize grow width 10px + + bindsym Return mode "default" + bindsym Escape mode "default" +} |
