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
d70fc158
Commit
d70fc158
authored
Dec 31, 2022
by
Jay Ta'ala
Browse files
Ported changes from config to config.simple.
parent
81ab3e07
Changes
1
Hide whitespace changes
Inline
Side-by-side
i3/config.simple
View file @
d70fc158
...
@@ -84,8 +84,10 @@ for_window [class=".*"] title_window_icon padding 3px
...
@@ -84,8 +84,10 @@ for_window [class=".*"] title_window_icon padding 3px
focus_wrapping no
focus_wrapping no
# parent focus switch (useful for master/stack switching) - has fallback for no focus_wrapping
# parent focus switch (useful for master/stack switching) - has fallback for no focus_wrapping
# required xdotool
# required xdotool
set $focusroot x=$(xdotool getwindowfocus getwindowname); while [ \\"$x\\" != \\"i3\\" ]; do i3-msg \\"focus parent\\"; x=$(xdotool getwindowfocus getwindowname); done
#set $focusroot x=$(xdotool getwindowfocus getwindowname); while [ \\"$x\\" != \\"i3\\" ]; do i3-msg \\"focus parent\\"; x=$(xdotool getwindowfocus getwindowname); done
bindsym $mod+r exec --no-startup-id "WINDOW=$(xdotool getactivewindow); $focusroot; i3-msg \\"focus child, focus left\\"; x=$(xdotool getwindowfocus getwindowname); if [ \\"$x\\" == \\"\\" ]; then $focusroot; i3-msg \\"focus child, focus right\\"; fi"
set $focusroot for _ in {1..4}; do i3-msg \\"focus parent\\"; done
set $unfocusroot for _ in {1..3}; do i3-msg \\"focus child\\"; done
bindsym $mod+r exec --no-startup-id "WINDOW=$(xdotool getwindowfocus); $focusroot; i3-msg \\"focus child, focus left\\"; $unfocusroot; x=$(xdotool getwindowfocus); if [ \\"$x\\" == \\"$WINDOW\\" ]; then $focusroot; i3-msg \\"focus child, 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
...
@@ -129,6 +131,10 @@ bindsym $mod+period [urgent=latest] focus
...
@@ -129,6 +131,10 @@ bindsym $mod+period [urgent=latest] focus
# kill focused window
# kill focused window
bindsym $mod+Shift+q kill
bindsym $mod+Shift+q kill
# start program launcher
#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-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%; }'"
################################################################################################
################################################################################################
## sound-section - DO NOT EDIT if you wish to automatically upgrade Alsa -> Pulseaudio later! ##
## sound-section - DO NOT EDIT if you wish to automatically upgrade Alsa -> Pulseaudio later! ##
################################################################################################
################################################################################################
...
...
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