Fix and remove most useless mode in i3/Sway!
A simple key combination is more effective
This commit is contained in:
@@ -158,24 +158,15 @@ set $lock swaylock -C ~/.config/swaylock/config
|
|||||||
bindsym $mod+minus scratchpad show
|
bindsym $mod+minus scratchpad show
|
||||||
#
|
#
|
||||||
# Resizing containers:
|
# Resizing containers:
|
||||||
#
|
bindsym $mod+ctrl+Right resize shrink width 10 px
|
||||||
mode "resize" {
|
bindsym $mod+ctrl+Up resize grow height 10 px
|
||||||
# Resize with arrow keys
|
bindsym $mod+ctrl+Down resize shrink height 10 px
|
||||||
bindsym Left resize shrink width 10px
|
bindsym $mod+ctrl+Left resize grow width 10 px
|
||||||
bindsym Down resize grow height 10px
|
# Same but vim keys
|
||||||
bindsym Up resize shrink height 10px
|
bindsym $mod+ctrl+l resize shrink width 10 px
|
||||||
bindsym Right resize grow width 10px
|
bindsym $mod+ctrl+k resize grow height 10 px
|
||||||
# Resize with Vim keys
|
bindsym $mod+ctrl+j resize shrink height 10 px
|
||||||
bindsym $left resize shrink width 10px
|
bindsym $mod+ctrl+h resize grow width 10 px
|
||||||
bindsym $down resize grow height 10px
|
|
||||||
bindsym $up resize shrink height 10px
|
|
||||||
bindsym $right resize grow width 10px
|
|
||||||
# Return to default mode
|
|
||||||
bindsym Return mode "default"
|
|
||||||
bindsym Escape mode "default"
|
|
||||||
bindsym $mod+r mode "default"
|
|
||||||
}
|
|
||||||
bindsym $mod+r mode "resize"
|
|
||||||
|
|
||||||
# Resize floating windows with mouse scroll:
|
# Resize floating windows with mouse scroll:
|
||||||
bindsym --whole-window --border {
|
bindsym --whole-window --border {
|
||||||
|
|||||||
Reference in New Issue
Block a user