about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-04-15T12·23+0100
committerWilliam Carroll <wpcarro@gmail.com>2019-04-15T12·23+0100
commit0faa588ae1b09a0f91fc1559127c071ed49d508e (patch)
tree7d60f8c994fc000a20aa5b4105f7e6029a5eee04
parent119ea8b6add1108812e713d3212f1c71ca782fc4 (diff)
Support i3-gaps
Re-enabling support for i3-gaps after successfully installing it from source.
-rw-r--r--configs/shared/misc/.config/i3/config.shared13
1 files changed, 9 insertions, 4 deletions
diff --git a/configs/shared/misc/.config/i3/config.shared b/configs/shared/misc/.config/i3/config.shared
index 48b7d7825cc9..2e3926687962 100644
--- a/configs/shared/misc/.config/i3/config.shared
+++ b/configs/shared/misc/.config/i3/config.shared
@@ -22,10 +22,15 @@ font pango:monospace 8
 # Use Mouse+$mod to drag floating windows to their wanted position
 floating_modifier $mod
 
-# gaps
-# gaps inner 20
-# gaps outer 0
-# smart_gaps on
+# i3-gaps (depends on i3-gaps installation)
+gaps inner 20
+gaps outer 0
+smart_gaps on
+
+bindsym $mod+Ctrl+plus   gaps outer current plus  5
+bindsym $mod+Ctrl+minus  gaps outer current minus 5
+bindsym $mod+Shift+plus  gaps inner current plus  5
+bindsym $mod+Shift+minus gaps inner current minus 5
 
 # KBD Principles:
 # $mod+Ctrl+<app_char>       = starting an application