bspwm: add disclaimer about dynamically reloading

main
maia arson crimew 2022-06-05 00:07:27 +02:00
parent cec99099fd
commit 71640dfd58
1 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,9 @@ fi
pgrep -x sxhkd > /dev/null || sxhkd & pgrep -x sxhkd > /dev/null || sxhkd &
# create/move desktops # create/move desktops
# !!!!!!!!!! DISCLAIMER !!!!!!!!!!
# dynamically moving desktops with a config reload is currently still broken,
# however things are configured properly for either one or two monitors on boot
if [[ "$dock_status" = "docked" ]]; then if [[ "$dock_status" = "docked" ]]; then
if [[ "$(bspc query -D -m $monitor_internal | wc -l)" = "10" ]]; then if [[ "$(bspc query -D -m $monitor_internal | wc -l)" = "10" ]]; then
bspc query -D -m $monitor_internal --names | tail -5 | xargs -rd'\n' -i'{}' bspc desktop {} -m $monitor_external --follow bspc query -D -m $monitor_internal --names | tail -5 | xargs -rd'\n' -i'{}' bspc desktop {} -m $monitor_external --follow