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
9156e444
Commit
9156e444
authored
Sep 07, 2021
by
Jay Ta'ala
Browse files
Added back failsafe bindsyms (e.g. if display stuck on another output or
picom is freaking out).
parent
e957c656
Changes
1
Show whitespace changes
Inline
Side-by-side
i3/config
View file @
9156e444
...
@@ -65,6 +65,9 @@ bindsym $mod+$mod_next+bracketleft $border_no_name
...
@@ -65,6 +65,9 @@ bindsym $mod+$mod_next+bracketleft $border_no_name
bindsym $mod+$mod_next+bracketright border none
bindsym $mod+$mod_next+bracketright border none
bindsym $mod+$mod_next+backslash $border_normal
bindsym $mod+$mod_next+backslash $border_normal
# xrandr set to default res (needed if unplug monitor and can't see screen)
bindsym $mod+backslash exec "xrandr --output eDP-1-1 --mode 2560x1440 --rate 240"
# Font for window titles. Will also be used by the bar unless a different font
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
# is used in the bar {} block below.
#font pango:monospace 8
#font pango:monospace 8
...
@@ -214,7 +217,7 @@ bindsym $mod+$mod_next+Ctrl+z exec "WINDOWS=$(xdotool search --all --onlyvisible
...
@@ -214,7 +217,7 @@ bindsym $mod+$mod_next+Ctrl+z exec "WINDOWS=$(xdotool search --all --onlyvisible
bindsym $mod+$mod_next+x exec transset-df -a --inc 0.20 --max 0.99
bindsym $mod+$mod_next+x exec transset-df -a --inc 0.20 --max 0.99
bindsym $mod+$mod_next+Shift+x exec transset-df -a --inc 0.1 --max 0.99
bindsym $mod+$mod_next+Shift+x exec transset-df -a --inc 0.1 --max 0.99
bindsym $mod+$mod_next+Ctrl+x exec "WINDOWS=$(xdotool search --all --onlyvisible --desktop $(xprop -notype -root _NET_CURRENT_DESKTOP | cut -c 24-) \\"\\" 2>/dev/null); for window in $WINDOWS; do xdotool windowactivate $window; transset-df -a --inc 0.20 --max 0.99; done"
bindsym $mod+$mod_next+Ctrl+x exec "WINDOWS=$(xdotool search --all --onlyvisible --desktop $(xprop -notype -root _NET_CURRENT_DESKTOP | cut -c 24-) \\"\\" 2>/dev/null); for window in $WINDOWS; do xdotool windowactivate $window; transset-df -a --inc 0.20 --max 0.99; done"
bindsym $mod+
$mod_next+c
exec --no-startup-id $picom_start
bindsym $mod+
BackSpace
exec --no-startup-id $picom_start
# window dimming enable or disable (uses xdotool and xprop to set a anti-dim flag, which picom recognises in focus-exclude array)
# window dimming enable or disable (uses xdotool and xprop to set a anti-dim flag, which picom recognises in focus-exclude array)
bindsym $mod+$mod_next+a exec xprop -id $(xdotool getactivewindow) -f ANTIDIM_FLAG 8c -set ANTIDIM_FLAG 1; exec notify-send 'anti-dim set on window'
bindsym $mod+$mod_next+a exec xprop -id $(xdotool getactivewindow) -f ANTIDIM_FLAG 8c -set ANTIDIM_FLAG 1; exec notify-send 'anti-dim set on 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