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
a406e7c9
Commit
a406e7c9
authored
Jan 13, 2022
by
Jay Ta'ala
Browse files
Reverse only needed for layout changes. Simplified child layout
bindsyms.
parent
15400188
Changes
2
Hide whitespace changes
Inline
Side-by-side
i3/config
View file @
a406e7c9
...
...
@@ -185,26 +185,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"
# convenience move
bindsym $mod+z move left
, layout fill_order reverse
bindsym $mod+x move right
, layout fill_order reverse
bindsym $mod+z move left
bindsym $mod+x move right
# move focused window
bindsym $mod+Shift+Left move left 100px
, layout fill_order reverse
bindsym $mod+Shift+Down move down 100px
, layout fill_order reverse
bindsym $mod+Shift+Up move up 100px
, layout fill_order reverse
bindsym $mod+Shift+Right move right 100px
, layout fill_order reverse
bindsym $mod+Shift+Left move left 100px
bindsym $mod+Shift+Down move down 100px
bindsym $mod+Shift+Up move up 100px
bindsym $mod+Shift+Right move right 100px
# hjkl move
bindsym $mod+Shift+h move left 100px
, layout fill_order reverse
bindsym $mod+Shift+j move down 100px
, layout fill_order reverse
bindsym $mod+Shift+k move up 100px
, layout fill_order reverse
bindsym $mod+Shift+l move right 100px
, layout fill_order reverse
bindsym $mod+Shift+h move left 100px
bindsym $mod+Shift+j move down 100px
bindsym $mod+Shift+k move up 100px
bindsym $mod+Shift+l move right 100px
# wasd move
bindsym $mod+Shift+w move up 100px
, layout fill_order reverse
bindsym $mod+Shift+a move left 100px
, layout fill_order reverse
bindsym $mod+Shift+s move down 100px
, layout fill_order reverse
bindsym $mod+Shift+d move right 100px
, layout fill_order reverse
bindsym $mod+Shift+w move up 100px
bindsym $mod+Shift+a move left 100px
bindsym $mod+Shift+s move down 100px
bindsym $mod+Shift+d move right 100px
# mark and focus
bindsym $mod+Ctrl+1 mark --add --toggle 1
...
...
i3/config.simple
View file @
a406e7c9
...
...
@@ -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"
# convenience move
bindsym $mod+z move left
, layout fill_order reverse
bindsym $mod+x move right
, layout fill_order reverse
bindsym $mod+z move left
bindsym $mod+x move right
# move focused window
bindsym $mod+Shift+Left move left 100px
, layout fill_order reverse
bindsym $mod+Shift+Down move down 100px
, layout fill_order reverse
bindsym $mod+Shift+Up move up 100px
, layout fill_order reverse
bindsym $mod+Shift+Right move right 100px
, layout fill_order reverse
bindsym $mod+Shift+Left move left 100px
bindsym $mod+Shift+Down move down 100px
bindsym $mod+Shift+Up move up 100px
bindsym $mod+Shift+Right move right 100px
# hjkl move
bindsym $mod+Shift+h move left 100px
, layout fill_order reverse
bindsym $mod+Shift+j move down 100px
, layout fill_order reverse
bindsym $mod+Shift+k move up 100px
, layout fill_order reverse
bindsym $mod+Shift+l move right 100px
, layout fill_order reverse
bindsym $mod+Shift+h move left 100px
bindsym $mod+Shift+j move down 100px
bindsym $mod+Shift+k move up 100px
bindsym $mod+Shift+l move right 100px
# wasd move
bindsym $mod+Shift+w move up 100px
, layout fill_order reverse
bindsym $mod+Shift+a move left 100px
, layout fill_order reverse
bindsym $mod+Shift+s move down 100px
, layout fill_order reverse
bindsym $mod+Shift+d move right 100px
, layout fill_order reverse
bindsym $mod+Shift+w move up 100px
bindsym $mod+Shift+a move left 100px
bindsym $mod+Shift+s move down 100px
bindsym $mod+Shift+d move right 100px
# mark and focus
bindsym $mod+Ctrl+1 mark --add --toggle 1
...
...
@@ -207,14 +207,14 @@ bindsym $mod_next+w layout tabbed reverse
bindsym $mod_next+q layout splith reverse
bindsym $mod_next+e layout splitv reverse
bindsym $mod_next+s layout stacking reverse
bindsym $mod_next+Shift+w layout tabbed, layout fill_order default
bindsym $mod_next+Shift+q layout splith, layout fill_order default
bindsym $mod_next+Shift+e layout splitv, layout fill_order default
bindsym $mod_next+Shift+s layout stacking, layout fill_order default
# 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 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
bindsym $mod+f fullscreen toggle
...
...
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