Commit 9156e444 authored by Jay Ta'ala's avatar Jay Ta'ala
Browse files

Added back failsafe bindsyms (e.g. if display stuck on another output or

picom is freaking out).
parent e957c656
......@@ -65,6 +65,9 @@ bindsym $mod+$mod_next+bracketleft $border_no_name
bindsym $mod+$mod_next+bracketright border none
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
# is used in the bar {} block below.
#font pango:monospace 8
......@@ -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+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+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)
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'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment