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
fa05cbb7
Commit
fa05cbb7
authored
Feb 12, 2021
by
Jay Ta'ala
Browse files
EXPERIMENT: mod+shift+n to not move to top of stack.
parent
6b1f932e
Changes
2
Hide whitespace changes
Inline
Side-by-side
i3/config
View file @
fa05cbb7
...
@@ -122,9 +122,9 @@ bindsym $mod+l focus right
...
@@ -122,9 +122,9 @@ bindsym $mod+l focus right
set $get_layout $(i3-msg -t get_tree | jq -r 'recurse(.nodes[];.nodes!=null)|select(.nodes[].focused).layout')
set $get_layout $(i3-msg -t get_tree | jq -r 'recurse(.nodes[];.nodes!=null)|select(.nodes[].focused).layout')
bindsym $mod+m exec "i3-msg focus parent, focus left"
bindsym $mod+m exec "i3-msg focus parent, focus left"
bindsym $mod+Shift+m exec "STK=$get_layout; i3-msg layout stacked, move left; MST=$get_layout; i3-msg layout stacked, focus up, focus right, layout $STK, focus parent, focus left, move right, focus left, layout $MST"
bindsym $mod+Shift+m exec "STK=$get_layout; i3-msg layout stacked, move left; MST=$get_layout; i3-msg layout stacked, focus up, focus right, layout $STK, focus parent, focus left, move right, focus left, layout $MST"
bindsym $mod+Shift+n exec "MST=$get_layout; i3-msg layout stacked,
move
right, focus parent, focus left, layout $
M
ST, focus parent, focus
right
"
bindsym $mod+Shift+n exec "MST=$get_layout; i3-msg layout stacked,
focus
right
; STK=$get_layout; i3-msg layout stacked
, focus parent, focus left,
move right, focus up,
layout $ST
K
, focus parent, focus
left, layout $MST
"
#
bindsym $mod+comma exec "
M
ST=$get_layout; i3-msg layout stacked,
focus up, move right, focus up, focus left, layout $MST
"
bindsym $mod+
Shift+
comma exec "ST
K
=$get_layout; i3-msg layout stacked,
move left, focus parent, focus right, layout $STK, focus parent, focus left
"
#
bindsym $mod+Shift+
comma
exec "MST=$get_layout; i3-msg layout stacked,
focus up, focus right; STK=$get_layout; i3-msg layout stacked, focus left, move right, move up, focus down
, layout $ST
K
, focus parent, focus
left, layout $MST
"
bindsym $mod+Shift+
period
exec "MST=$get_layout; i3-msg layout stacked,
move right, focus parent, focus left
, layout $
M
ST, focus parent, focus
right
"
# container focusing (with fallback for case where window is direct child of workspace container)
# container focusing (with fallback for case where window is direct child of workspace container)
# NOTE: requires xdotool
# NOTE: requires xdotool
...
...
i3/config.simple
View file @
fa05cbb7
...
@@ -83,9 +83,9 @@ bindsym $mod+l focus right
...
@@ -83,9 +83,9 @@ bindsym $mod+l focus right
set $get_layout $(i3-msg -t get_tree | jq -r 'recurse(.nodes[];.nodes!=null)|select(.nodes[].focused).layout')
set $get_layout $(i3-msg -t get_tree | jq -r 'recurse(.nodes[];.nodes!=null)|select(.nodes[].focused).layout')
bindsym $mod+m exec "i3-msg focus parent, focus left"
bindsym $mod+m exec "i3-msg focus parent, focus left"
bindsym $mod+Shift+m exec "STK=$get_layout; i3-msg layout stacked, move left; MST=$get_layout; i3-msg layout stacked, focus up, focus right, layout $STK, focus parent, focus left, move right, focus left, layout $MST"
bindsym $mod+Shift+m exec "STK=$get_layout; i3-msg layout stacked, move left; MST=$get_layout; i3-msg layout stacked, focus up, focus right, layout $STK, focus parent, focus left, move right, focus left, layout $MST"
bindsym $mod+Shift+n exec "MST=$get_layout; i3-msg layout stacked,
move
right, focus parent, focus left, layout $
M
ST, focus parent, focus
right
"
bindsym $mod+Shift+n exec "MST=$get_layout; i3-msg layout stacked,
focus
right
; STK=$get_layout; i3-msg layout stacked
, focus parent, focus left,
move right, focus up,
layout $ST
K
, focus parent, focus
left, layout $MST
"
#
bindsym $mod+comma exec "
M
ST=$get_layout; i3-msg layout stacked,
focus up, move right, focus up, focus left, layout $MST
"
bindsym $mod+
Shift+
comma exec "ST
K
=$get_layout; i3-msg layout stacked,
move left, focus parent, focus right, layout $STK, focus parent, focus left
"
#
bindsym $mod+Shift+
comma
exec "MST=$get_layout; i3-msg layout stacked,
focus up, focus right; STK=$get_layout; i3-msg layout stacked, focus left, move right, move up, focus down
, layout $ST
K
, focus parent, focus
left, layout $MST
"
bindsym $mod+Shift+
period
exec "MST=$get_layout; i3-msg layout stacked,
move right, focus parent, focus left
, layout $
M
ST, focus parent, focus
right
"
# move focused window
# move focused window
...
...
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