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
83628113
Commit
83628113
authored
Sep 24, 2022
by
Jay Ta'ala
Browse files
Merge branch 'development'
parents
14d7c81d
e98ed68e
Changes
2
Hide whitespace changes
Inline
Side-by-side
i3/config
View file @
83628113
...
@@ -80,9 +80,10 @@ for_window [class=".*"] title_window_icon padding 3px
...
@@ -80,9 +80,10 @@ for_window [class=".*"] title_window_icon padding 3px
# focus_wrapping <yes|no|force|workspace>
# focus_wrapping <yes|no|force|workspace>
# Legacy syntax: "force_focus_wrapping force"
# Legacy syntax: "force_focus_wrapping force"
focus_wrapping yes
focus_wrapping no
# parent focus switch (useful for master/stack switching)
# parent focus switch (useful for master/stack switching) - has fallback for no focus_wrapping
bindsym $mod+r focus parent; focus left
# required xdotool
bindsym $mod+r exec --no-startup-id "WINDOW=$(xdotool getactivewindow); i3-msg \\"focus parent; focus left; focus child\\"; NEW_WINDOW=$(xdotool getactivewindow); if [ \\"$NEW_WINDOW\\" -eq \\"$WINDOW\\" ]; then i3-msg \\"focus parent; focus right\\"; fi"
# Hide borders <none|vertical|horizontal|both|smart>
# Hide borders <none|vertical|horizontal|both|smart>
hide_edge_borders none
hide_edge_borders none
...
@@ -134,7 +135,7 @@ bindsym $mod+Shift+q kill
...
@@ -134,7 +135,7 @@ bindsym $mod+Shift+q kill
# start program launcher
# start program launcher
#bindsym $mod+d exec --no-startup-id dmenu_recency
#bindsym $mod+d exec --no-startup-id dmenu_recency
bindsym $mod_next+Tab exec --no-startup-id "rofi -show-icons -modi window,drun -show window -scroll-method 1 -kb-
row-tab
\\"\\" -kb-mode-next \\"Tab\\" -kb-row-up \\"Super+k\\" -kb-row-down \\"Super+j\\" -theme lb -theme-str '* { font: \\"DejaVu Sans Mono 16\\"; foreground: #ffffff; border-color: $accent-bg; separatorcolor: $accent-bg; selected-normal-background: $accent-bg; } window { height: 80%; }'"
bindsym $mod_next+Tab exec --no-startup-id "rofi -show-icons -modi window,drun -show window -scroll-method 1 -kb-
element-next \\"\\" -kb-element-next
\\"\\" -kb-mode-next \\"Tab\\" -kb-row-up \\"Super+k\\" -kb-row-down \\"Super+j\\" -theme lb -theme-str '* { font: \\"DejaVu Sans Mono 16\\"; foreground: #ffffff; border-color: $accent-bg; separatorcolor: $accent-bg; selected-normal-background: $accent-bg; } window { height: 80%; }'"
# instant layout
# instant layout
# REQUIRES i3-instant-layout and XDOTOOL
# REQUIRES i3-instant-layout and XDOTOOL
...
@@ -189,6 +190,8 @@ bindsym $mod+z move left
...
@@ -189,6 +190,8 @@ bindsym $mod+z move left
bindsym $mod+Shift+z move left; layout fill_order default
bindsym $mod+Shift+z move left; layout fill_order default
bindsym $mod+x move right
bindsym $mod+x move right
bindsym $mod+Shift+x move right; layout fill_order reverse
bindsym $mod+Shift+x move right; layout fill_order reverse
bindsym $mod+Ctrl+z move left; focus right
bindsym $mod+Ctrl+x move right; focus left
# move focused window
# move focused window
bindsym $mod+Shift+h move left 50px
bindsym $mod+Shift+h move left 50px
...
...
i3/config.simple
View file @
83628113
...
@@ -80,9 +80,10 @@ for_window [class=".*"] title_window_icon padding 3px
...
@@ -80,9 +80,10 @@ for_window [class=".*"] title_window_icon padding 3px
# focus_wrapping <yes|no|force|workspace>
# focus_wrapping <yes|no|force|workspace>
# Legacy syntax: "force_focus_wrapping force"
# Legacy syntax: "force_focus_wrapping force"
focus_wrapping yes
focus_wrapping no
# parent focus switch (useful for master/stack switching)
# parent focus switch (useful for master/stack switching) - has fallback for no focus_wrapping
bindsym $mod+r focus parent; focus left
# required xdotool
bindsym $mod+r exec --no-startup-id "WINDOW=$(xdotool getactivewindow); i3-msg \\"focus parent; focus left; focus child\\"; NEW_WINDOW=$(xdotool getactivewindow); if [ \\"$NEW_WINDOW\\" -eq \\"$WINDOW\\" ]; then i3-msg \\"focus parent; focus right\\"; fi"
# Hide borders <none|vertical|horizontal|both|smart>
# Hide borders <none|vertical|horizontal|both|smart>
hide_edge_borders none
hide_edge_borders none
...
@@ -128,6 +129,7 @@ bindsym $mod+$mod_next+v exec --no-startup-id "killall volumeicon; sleep 1; volu
...
@@ -128,6 +129,7 @@ bindsym $mod+$mod_next+v exec --no-startup-id "killall volumeicon; sleep 1; volu
################################################################################################
################################################################################################
# start dmenu (a program launcher)
# start dmenu (a program launcher)
#bindsym $mod_next+Tab exec --no-startup-id "rofi -show-icons -modi window,drun -show window -scroll-method 1 -kb-element-next \\"\\" -kb-element-next \\"\\" -kb-mode-next \\"Tab\\" -kb-row-up \\"Super+k\\" -kb-row-down \\"Super+j\\" -theme lb -theme-str '* { font: \\"DejaVu Sans Mono 16\\"; foreground: #ffffff; border-color: $accent-bg; separatorcolor: $accent-bg; selected-normal-background: $accent-bg; } window { height: 80%; }'"
bindsym $mod_next+d exec --no-startup-id dmenu_run -sb "$accent-bg"
bindsym $mod_next+d exec --no-startup-id dmenu_run -sb "$accent-bg"
bindsym $mod_next+Return exec --no-startup-id dmenu_run "$accent-bg"
bindsym $mod_next+Return exec --no-startup-id dmenu_run "$accent-bg"
...
@@ -160,6 +162,8 @@ bindsym $mod+z move left
...
@@ -160,6 +162,8 @@ bindsym $mod+z move left
bindsym $mod+Shift+z move left; layout fill_order default
bindsym $mod+Shift+z move left; layout fill_order default
bindsym $mod+x move right
bindsym $mod+x move right
bindsym $mod+Shift+x move right; layout fill_order reverse
bindsym $mod+Shift+x move right; layout fill_order reverse
bindsym $mod+Ctrl+z move left; focus right
bindsym $mod+Ctrl+x move right; focus left
# move focused window
# move focused window
bindsym $mod+Shift+h move left 50px
bindsym $mod+Shift+h move left 50px
...
...
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