update i3/config add new options in resize mode
prithugoswami prithugoswami524@gmail.com
Sat, 26 May 2018 10:40:46 +0530
1 files changed,
4 insertions(+),
1 deletions(-)
jump to
M
i3/config
→
i3/config
@@ -459,7 +459,7 @@ # on|no_gaps (on=always activate and no_gaps=only activate if the gap size to the edge of the screen is 0)
smart_borders on # Press $mod+Shift+v to enter the gap mode. Choose o or i for modifying outer/inner gaps. Press one of + / - (in-/decrement for current workspace) or 0 (remove gaps for current workspace). If you also press Shift with these keys, the change will be global for all workspaces. -set $mode_gaps Gaps: (o) outer, (i) inner +set $mode_gaps Gaps: (o) outer, (i) inner, (r) reset current, (R) reset all, (0) Zero gaps set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global) bindsym $mod+Shift+v mode "$mode_gaps"@@ -467,6 +467,9 @@
mode "$mode_gaps" { bindsym o mode "$mode_gaps_outer" bindsym i mode "$mode_gaps_inner" + bindsym r gaps inner current set 10 , gaps outer current set -4 + bindsym Shift+r gaps inner all set 10 , gaps outer all set -4 + bindsym 0 gaps inner current set 0 , gaps outer current set 0 bindsym Return mode "default" bindsym Escape mode "default" }