Make resize by 2 px if mod pushed

Jonathan Hodgson 7 years ago
parent ac8cfc23a9
commit ab9f59aaac
  1. 4
      config/i3/config
  2. 4
      config/i3/configWork

@ -183,6 +183,10 @@ mode "resize" {
bindsym j resize grow height 10 px or 10 ppt
bindsym k resize shrink height 10 px or 10 ppt
bindsym l resize grow width 10 px or 10 ppt
bindsym $mod+h resize shrink width 2 px or 2 ppt
bindsym $mod+j resize grow height 2 px or 2 ppt
bindsym $mod+k resize shrink height 2 px or 2 ppt
bindsym $mod+l resize grow width 2 px or 2 ppt
# same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt

@ -187,6 +187,10 @@ mode "resize" {
bindsym j resize grow height 10 px or 10 ppt
bindsym k resize shrink height 10 px or 10 ppt
bindsym l resize grow width 10 px or 10 ppt
bindsym $mod+h resize shrink width 2 px or 2 ppt
bindsym $mod+j resize grow height 2 px or 2 ppt
bindsym $mod+k resize shrink height 2 px or 2 ppt
bindsym $mod+l resize grow width 2 px or 2 ppt
# same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt

Loading…
Cancel
Save