Commit 022f9917 authored by Jay Ta'ala's avatar Jay Ta'ala
Browse files

Added a master-stack $mod+Shift+n bindsym which moves the selected stack

window to master and exposes the previously selected stack window
(instead of what was at master).
parent 6ec23295
......@@ -123,6 +123,7 @@ bindsym $mod+m exec "i3-msg focus parent, focus right"
bindsym $mod+comma exec "i3-msg focus up, move right, focus up, focus left"
# NOTE: requires jq
bindsym $mod+Shift+m exec "CURR=$(i3-msg -t get_tree | jq -r 'recurse(.nodes[];.nodes!=null)|select(.nodes[].focused).layout'); i3-msg layout stacked, move left, focus up, focus right, layout $CURR, focus parent, focus left, move right, focus left"
bindsym $mod+Shift+n exec "CURR=$(i3-msg -t get_tree | jq -r 'recurse(.nodes[];.nodes!=null)|select(.nodes[].focused).layout'); i3-msg layout stacked, move left, focus up, move right, focus up, layout $CURR, focus parent, focus left"
bindsym $mod+Shift+comma exec "i3-msg focus right; CURR=$(i3-msg -t get_tree | jq -r 'recurse(.nodes[];.nodes!=null)|select(.nodes[].focused).layout'); i3-msg layout stacked, move left, focus up, focus right, layout $CURR, focus parent, focus left, move right, focus left"
# container focusing (with fallback for case where window is direct child of workspace container)
......
......@@ -82,6 +82,7 @@ bindsym $mod+m exec "i3-msg focus parent, focus right"
bindsym $mod+comma exec "i3-msg focus up, move right, focus up, focus left"
# NOTE: requires jq
bindsym $mod+Shift+m exec "CURR=$(i3-msg -t get_tree | jq -r 'recurse(.nodes[];.nodes!=null)|select(.nodes[].focused).layout'); i3-msg layout stacked, move left, focus up, focus right, layout $CURR, focus parent, focus left, move right, focus left"
bindsym $mod+Shift+n exec "CURR=$(i3-msg -t get_tree | jq -r 'recurse(.nodes[];.nodes!=null)|select(.nodes[].focused).layout'); i3-msg layout stacked, move left, focus up, move right, focus up, layout $CURR, focus parent, focus left"
bindsym $mod+Shift+comma exec "i3-msg focus right; CURR=$(i3-msg -t get_tree | jq -r 'recurse(.nodes[];.nodes!=null)|select(.nodes[].focused).layout'); i3-msg layout stacked, move left, focus up, focus right, layout $CURR, focus parent, focus left, move right, focus left"
# move focused window
......
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