From ab9f59aaac5efc6f91d23bcaa9c16334ea0457ce Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Thu, 25 Jan 2018 15:18:35 +0000 Subject: [PATCH] Make resize by 2 px if mod pushed --- config/i3/config | 4 ++++ config/i3/configWork | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/config/i3/config b/config/i3/config index b8d679b2..3fc5d2e1 100644 --- a/config/i3/config +++ b/config/i3/config @@ -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 diff --git a/config/i3/configWork b/config/i3/configWork index febc1470..6707d0f8 100644 --- a/config/i3/configWork +++ b/config/i3/configWork @@ -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