mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-15 11:21:42 +01:00
bspwm: Remove dynamic desktops
This was cute but I prefer tags now.
This commit is contained in:
parent
578479a866
commit
2853b6b21d
@ -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 &
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user