commit 0601d243c31504f98bc7c5ef893d778015ea0c21
parent 61d79575dbe888a428edfcb43edd501d524f70dd
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Tue, 22 Jan 2019 10:12:45 -0500
Add fibonacci splitting for i3.
Diffstat:
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/.config/i3/config b/.config/i3/config
@@ -79,6 +79,11 @@ bar {
binding_mode $base00 $base0A $base00
}
}
+## Fibonacci splitting
+# Start vertical.
+default_orientation vertical
+# Toggle split at each new window.
+for_window [class="^"] split toggle
### Key bindings
#
@@ -89,8 +94,8 @@ bar {
# start a terminal
bindsym $mod+Return exec --no-startup-id ~/.local/bin/sway/launch-terminal
- # kill focused window
- bindsym $mod+Shift+q kill
+ # kill focused window, remember to toggle split back
+ bindsym $mod+q split toggle; kill
# start your launcher
bindsym $mod+d exec --no-startup-id $menu