Commit f2ff16fc authored by Jay Ta'ala's avatar Jay Ta'ala
Browse files

Merge branch 'reverse-layout' into i3-remap-experimental

parents 2c9b27ad a406e7c9
...@@ -222,6 +222,7 @@ bindsym $mod+g exec "i3-input -f $i3inputfont -l 1 -P \\"Goto Mark: \\" -F '[con ...@@ -222,6 +222,7 @@ bindsym $mod+g exec "i3-input -f $i3inputfont -l 1 -P \\"Goto Mark: \\" -F '[con
workspace_auto_back_and_forth yes workspace_auto_back_and_forth yes
# renaming container # renaming container
set $namechildcon "i3-msg focus parent; i3-input -f \\"-*-*-*-*-*-*-24-*-*-*-*-*-*-*\\" -P \\"Name child container: \\" -F 'title_format \\"<span><b>%s</b>%title</span>\\"'; i3-msg focus child"
bindsym $mod+slash exec $namechildcon bindsym $mod+slash exec $namechildcon
# sets back to default i3 container title # sets back to default i3 container title
bindsym $mod+$mod_next+slash focus parent; title_format " %title"; focus child bindsym $mod+$mod_next+slash focus parent; title_format " %title"; focus child
...@@ -233,12 +234,7 @@ bindsym $mod_next+e layout splitv ...@@ -233,12 +234,7 @@ bindsym $mod_next+e layout splitv
bindsym $mod_next+s layout stacking bindsym $mod_next+s layout stacking
# child container layout bindsyms (creates a child container from currently select window) # child container layout bindsyms (creates a child container from currently select window)
set $namechildcon "i3-msg focus parent; i3-input -f \\"-*-*-*-*-*-*-24-*-*-*-*-*-*-*\\" -P \\"Name child container: \\" -F 'title_format \\"<span><b>%s</b>%title</span>\\"'; i3-msg focus child"
bindsym $mod+ctrl+q split h
bindsym $mod+ctrl+e split v
bindsym $mod+ctrl+w split h; layout tabbed
bindsym $mod+c split h; layout tabbed bindsym $mod+c split h; layout tabbed
bindsym $mod+ctrl+s split h; layout stacked
# toggle fullscreen mode for the focused container # toggle fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle bindsym $mod+f fullscreen toggle
......
...@@ -57,7 +57,7 @@ client.unfocused $unfocused-bg $unfocused-bg $unfocused-txt $indicator $ ...@@ -57,7 +57,7 @@ client.unfocused $unfocused-bg $unfocused-bg $unfocused-txt $indicator $
#client.background #2B2C2B #client.background #2B2C2B
# set default desktop layout (default is tiling) <default|stacking|tabbed> # set default desktop layout (default is tiling) <default|stacking|tabbed>
workspace_layout tabbed reverse workspace_layout tabbed
# set default window title_align # set default window title_align
title_align center title_align center
...@@ -161,26 +161,26 @@ bindsym $mod+d focus right ...@@ -161,26 +161,26 @@ bindsym $mod+d focus right
#bindsym $mod+period exec "WINDOW=$(xdotool getactivewindow); i3-msg \\"focus parent; focus right; focus child\\"; NEW_WINDOW=$(xdotool getactivewindow); if [ \\"$NEW_WINDOW\\" -eq \\"$WINDOW\\" ]; then i3-msg \\"focus right\\"; fi" #bindsym $mod+period exec "WINDOW=$(xdotool getactivewindow); i3-msg \\"focus parent; focus right; focus child\\"; NEW_WINDOW=$(xdotool getactivewindow); if [ \\"$NEW_WINDOW\\" -eq \\"$WINDOW\\" ]; then i3-msg \\"focus right\\"; fi"
# convenience move # convenience move
bindsym $mod+z move left, layout fill_order reverse bindsym $mod+z move left
bindsym $mod+x move right, layout fill_order reverse bindsym $mod+x move right
# move focused window # move focused window
bindsym $mod+Shift+Left move left 100px, layout fill_order reverse bindsym $mod+Shift+Left move left 100px
bindsym $mod+Shift+Down move down 100px, layout fill_order reverse bindsym $mod+Shift+Down move down 100px
bindsym $mod+Shift+Up move up 100px, layout fill_order reverse bindsym $mod+Shift+Up move up 100px
bindsym $mod+Shift+Right move right 100px, layout fill_order reverse bindsym $mod+Shift+Right move right 100px
# hjkl move # hjkl move
bindsym $mod+Shift+h move left 100px, layout fill_order reverse bindsym $mod+Shift+h move left 100px
bindsym $mod+Shift+j move down 100px, layout fill_order reverse bindsym $mod+Shift+j move down 100px
bindsym $mod+Shift+k move up 100px, layout fill_order reverse bindsym $mod+Shift+k move up 100px
bindsym $mod+Shift+l move right 100px, layout fill_order reverse bindsym $mod+Shift+l move right 100px
# wasd move # wasd move
bindsym $mod+Shift+w move up 100px, layout fill_order reverse bindsym $mod+Shift+w move up 100px
bindsym $mod+Shift+a move left 100px, layout fill_order reverse bindsym $mod+Shift+a move left 100px
bindsym $mod+Shift+s move down 100px, layout fill_order reverse bindsym $mod+Shift+s move down 100px
bindsym $mod+Shift+d move right 100px, layout fill_order reverse bindsym $mod+Shift+d move right 100px
# mark and focus # mark and focus
bindsym $mod+Ctrl+1 mark --add --toggle 1 bindsym $mod+Ctrl+1 mark --add --toggle 1
...@@ -198,23 +198,19 @@ bindsym $mod+g exec "i3-input -f $i3inputfont -l 1 -P \\"Goto Mark: \\" -F '[con ...@@ -198,23 +198,19 @@ bindsym $mod+g exec "i3-input -f $i3inputfont -l 1 -P \\"Goto Mark: \\" -F '[con
workspace_auto_back_and_forth yes workspace_auto_back_and_forth yes
# renaming container # renaming container
set $namechildcon "i3-msg focus parent; i3-input -f \\"-*-*-*-*-*-*-24-*-*-*-*-*-*-*\\" -P \\"Name child container: \\" -F 'title_format \\"<span><b>%s</b>%title</span>\\"'; i3-msg focus child"
bindsym $mod+slash exec $namechildcon bindsym $mod+slash exec $namechildcon
# sets back to default i3 container title # sets back to default i3 container title
bindsym $mod+$mod_next+slash focus parent; title_format " %title"; focus child bindsym $mod+$mod_next+slash focus parent; title_format " %title"; focus child
# container layouts # container layouts
bindsym $mod_next+w layout tabbed reverse bindsym $mod_next+w layout tabbed
bindsym $mod_next+q layout splith reverse bindsym $mod_next+q layout splith
bindsym $mod_next+e layout splitv reverse bindsym $mod_next+e layout splitv
bindsym $mod_next+s layout stacking reverse bindsym $mod_next+s layout stacking
# child container layout bindsyms (creates a child container from currently select window) # child container layout bindsyms (creates a child container from currently select window)
set $namechildcon "i3-msg focus parent; i3-input -f \\"-*-*-*-*-*-*-24-*-*-*-*-*-*-*\\" -P \\"Name child container: \\" -F 'title_format \\"<span><b>%s</b>%title</span>\\"'; i3-msg focus child" bindsym $mod+c split h; layout tabbed
bindsym $mod+ctrl+q split h reverse
bindsym $mod+ctrl+e split v reverse
bindsym $mod+ctrl+w split h; layout tabbed reverse
bindsym $mod+c split h; layout tabbed reverse
bindsym $mod+ctrl+s split h; layout stacked reverse
# toggle fullscreen mode for the focused container # toggle fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle bindsym $mod+f fullscreen toggle
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment