summaryrefslogtreecommitdiff
path: root/.config/i3
diff options
context:
space:
mode:
authorDavid Luevano <55825613+luevano@users.noreply.github.com>2020-02-18 19:00:27 -0700
committerDavid Luevano <55825613+luevano@users.noreply.github.com>2020-02-18 19:00:27 -0700
commit43221efe862e0037de488cf74aef8bd1c8bca3c0 (patch)
tree73ede27ab2124ed5cf3be57abe0dd5db98460fb1 /.config/i3
parentcfe2b9e5fda87112c3e35bd9a8e953c1a591a499 (diff)
Add more resizing kb
Diffstat (limited to '.config/i3')
-rw-r--r--.config/i3/config28
1 files changed, 23 insertions, 5 deletions
diff --git a/.config/i3/config b/.config/i3/config
index f884d03..6a88875 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -10,6 +10,9 @@ gaps inner 5
gaps outer 5
set $mod Mod4
font pango:monospace 10
+## Gaps defaults.
+ set $gi "5"
+ set $go "5"
## i3config variables.
set $mon1 "HDMI-0"
set $mon2 "DP-0"
@@ -194,11 +197,26 @@ client.background $c15
## Modes.
# Resize.
mode "resize" {
- # Resize mode keybindings.
- bindsym h resize shrink width 10 px or 10 ppt
- 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
+ # Container resizing.
+ bindsym h resize shrink width 1 px or 1 ppt
+ bindsym Shift+h resize shrink width 5 px or 5 ppt
+ bindsym Ctrl+h resize shrink width 10 px or 10 ppt
+ bindsym j resize grow height 1 px or 1 ppt
+ bindsym Shift+j resize grow height 5 px or 5 ppt
+ bindsym Ctrl+j resize grow height 10 px or 10 ppt
+ bindsym k resize shrink height 1 px or 1 ppt
+ bindsym Shift+k resize shrink height 5 px or 5 ppt
+ bindsym Ctrl+k resize shrink height 10 px or 10 ppt
+ bindsym l resize grow width 1 px or 1 ppt
+ bindsym Shift+l resize grow width 5 px or 5 ppt
+ bindsym Ctrl+l resize grow width 10 px or 10 ppt
+ # Gaps resizing.
+ bindsym plus gaps outer current plus 1
+ bindsym Shift+plus gaps inner current plus 1
+ bindsym minus gaps outer current minus 1
+ bindsym Shift+minus gaps inner current minus 1
+ bindsym g gaps inner all set $gi, gaps outer all set $go
+ bindsym Shift+g gaps inner all set 0, gaps outer all set 0
# Return to default mode keybindings.
bindsym Return mode "default"
bindsym Escape mode "default"