summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2020-07-07 18:12:53 +0200
committerRobert Günzler <r@gnzler.io>2020-07-07 18:12:53 +0200
commit3eee42abdf17015c6f2d57babef88eb8cd01d207 (patch)
tree53fb59d0b0dfee83efc76dfde15d0ce7993eed2f
parentc2152881ebb4ced19208b5d50410d827ba4b097d (diff)
sway: autotile new terminal windows
-rw-r--r--.config/sway/binds.conf9
1 files changed, 5 insertions, 4 deletions
diff --git a/.config/sway/binds.conf b/.config/sway/binds.conf
index ea8487e..a946fe6 100644
--- a/.config/sway/binds.conf
+++ b/.config/sway/binds.conf
@@ -1,7 +1,7 @@
 # vim: ft=i3
 
 # Basics {{{
-bindsym $mod+Return exec $term
+bindsym $mod+Return exec swx -a $term
 bindsym $mod+Shift+Return exec $floating_term
 bindsym $mod+b exec pkill -USR1 waybar
 bindsym $mod+w exec firefox
@@ -111,9 +111,10 @@ bindsym $mod+Ctrl+$right move workspace to output right
 
 # Layout stuff {{{
 bindsym $mod+Minus splitv
-bindsym $mod+Bracketleft splitv
 bindsym $mod+Backslash splith
-bindsym $mod+Bracketright splith
+# bindsym $mod+Bracketleft splitv
+# bindsym $mod+Bracketright splith
+bindsym $mod+g layout toggle split
 
 # Make the current focus fullscreen
 bindsym $mod+f fullscreen
@@ -130,7 +131,7 @@ mode "layout" {
     # Switch the current container between different layout styles
     bindsym s layout stacking; mode "default"
     bindsym w layout tabbed; mode "default"
-    bindsym e layout toggle split; mode "default"
+    bindsym e layout splitv; mode "default"
 
     # move focus to the parent container
     bindsym p focus parent