bspwm: Remove dynamic desktops

This was cute but I prefer tags now.
This commit is contained in:
Donovan Glover 2023-04-23 20:39:32 -04:00
parent 578479a866
commit 2853b6b21d
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -143,14 +143,6 @@ alttab -d 1 -w 1 -font "xft:Noto Sans CJK JP" -mk Super_L -kk grave &
# Fix bar showing above fullscreen programs
xdo above -t "$(xdo id -N Bspwm -n root | sort | head -n 1)" $(xdo id -n tint2)
# Go to the previous node if the current desktop is empty (dynamic desktops part 2)
bspc subscribe node_remove | while read event; do
if [ -n "$(bspc query -D -d '.!occupied' | rg $(bspc query -D -d focused))" ]; then
bspc query -N -n older && bspc node older -f || bspc desktop '^1' -f
fi
done &
# Disable middle click paste
xmousepasteblock &