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
9241e8d1
Commit
9241e8d1
authored
Feb 13, 2021
by
Jay Ta'ala
Browse files
Making some things common between config and config.simple.
parent
fa05cbb7
Changes
2
Show whitespace changes
Inline
Side-by-side
i3/config
View file @
9241e8d1
...
...
@@ -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')
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+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 $STK, focus parent, focus left, layout $MST"
bindsym $mod+Shift+comma exec "STK=$get_layout; i3-msg layout stacked, move left, focus parent, focus right, layout $STK, focus parent, focus left"
bindsym $mod+Shift+period exec "MST=$get_layout; i3-msg layout stacked, move right, focus parent, focus left, layout $MST, focus parent, focus right"
bindsym $mod+$mod_next+Shift+period 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 $STK, focus parent, focus left, layout $MST"
# container focusing (with fallback for case where window is direct child of workspace container)
# NOTE: requires xdotool
...
...
@@ -147,6 +147,7 @@ bindsym $mod+Shift+l move right 100px
# workspace back and forth (with/without active container)
workspace_auto_back_and_forth yes
#bindsym $mod+b workspace back_and_forth
#bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth
# Set $con_title (embedded script) - used in split orientations below.
...
...
i3/config.simple
View file @
9241e8d1
...
...
@@ -13,8 +13,8 @@ set $border_normal border normal 3
set $acolor #d64161
# set other colors
set $bgicolor #
6a6868
set $bgucolor #
2A
323
3
set $bgicolor #
525859
set $bgucolor #323
838
set $txtacolor #F9FAF9
set $txtucolor #bdbbbb
set $indcolor #4deb56
...
...
@@ -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')
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+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 $STK, focus parent, focus left, layout $MST"
bindsym $mod+Shift+comma exec "STK=$get_layout; i3-msg layout stacked, move left, focus parent, focus right, layout $STK, focus parent, focus left"
bindsym $mod+Shift+period exec "MST=$get_layout; i3-msg layout stacked, move right, focus parent, focus left, layout $MST, focus parent, focus right"
bindsym $mod+$mod_next+Shift+period 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 $STK, focus parent, focus left, layout $MST"
# move focused window
...
...
@@ -147,10 +147,10 @@ bindsym $mod+Shift+Tab move scratchpad
bindsym $mod+minus scratchpad show
#navigate workspaces next / previous
bindsym $mod+
c
trl+
r
ight workspace next
bindsym $mod+
c
trl+
l
eft workspace prev
bindsym $mod+
c
trl+l workspace next
bindsym $mod+
c
trl+h workspace prev
bindsym $mod+
C
trl+
R
ight workspace next
bindsym $mod+
C
trl+
L
eft workspace prev
bindsym $mod+
C
trl+l workspace next
bindsym $mod+
C
trl+h workspace prev
# Workspace names
# to display names or symbols instead of plain workspace numbers you can use
...
...
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