Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jay Ta'ala
jt-config-repo
Commits
6ec23295
Commit
6ec23295
authored
Oct 01, 2020
by
Jay Ta'ala
Browse files
EXPERIMENTAL: Change in behaviour, cycles positions on master stack (master moves
current window to top of stack).
parent
09d4888f
Changes
2
Hide whitespace changes
Inline
Side-by-side
i3/config
View file @
6ec23295
...
...
@@ -122,8 +122,8 @@ bindsym $mod+l focus right
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,
move
right, 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,
move
right, layout $CURR, focus parent, focus left"
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+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)
# NOTE: requires xdotool
...
...
i3/config.simple
View file @
6ec23295
...
...
@@ -81,8 +81,8 @@ bindsym $mod+l focus right
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,
move
right, 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,
move
right, layout $CURR, focus parent, focus left"
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+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
bindsym $mod+Shift+Left move left 100px
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment