sway: increase resize steps

This commit is contained in:
Inhji 2022-12-29 08:36:21 +01:00
parent 36bb671fc3
commit a12b059803
1 changed files with 11 additions and 10 deletions

View File

@ -154,8 +154,8 @@ hide_edge_borders both
bindsym $mod+Shift+5 move container to workspace 5
bindsym $mod+Shift+6 move container to workspace 6
bindsym $mod+Shift+7 move container to workspace 7
bindsym $mod+Shift+8 move container to workspace $ws8
bindsym $mod+Shift+9 move container to workspace $ws9
bindsym $mod+Shift+8 move container to workspace 8
bindsym $mod+Shift+9 move container to workspace 9
#bindsym $mod+Shift+0 move container to workspace 10
# Note: workspaces can have any name you want, not just numbers.
# We just use 1-10 as the default.
@ -199,21 +199,22 @@ hide_edge_borders both
#
# Resizing containers:
#
set $rsize 100px
mode "resize" {
# left will shrink the containers width
# right will grow the containers width
# up will shrink the containers height
# down will grow the containers height
bindsym $left resize shrink width 10px
bindsym $down resize grow height 10px
bindsym $up resize shrink height 10px
bindsym $right resize grow width 10px
bindsym $left resize shrink width $rsize
bindsym $down resize grow height $rsize
bindsym $up resize shrink height $rsize
bindsym $right resize grow width $rsize
# Ditto, with arrow keys
#bindsym Left resize shrink width 10px
#bindsym Down resize grow height 10px
#bindsym Up resize shrink height 10px
#bindsym Right resize grow width 10px
#bindsym Left resize shrink width $rsize
#bindsym Down resize grow height $rsize
#bindsym Up resize shrink height $rsize
#bindsym Right resize grow width $rsize
# Return to default mode
bindsym Return mode "default"