diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-01-06 17:09:46 +0100 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-01-06 17:09:46 +0100 |
commit | 4a226dedc6125fe307232a3afdbf3303ca742a53 (patch) | |
tree | 9b94a0f772803e3f0333fb7426da09f4011348f3 /bin | |
parent | 73ad5f0208c3f0c09b054f89a48430baeba56f83 (diff) |
single monitor intro: focus the fun stuff
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/wmintro | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/wmintro b/bin/wmintro index 9dadf9b..e04ed0e 100755 --- a/bin/wmintro +++ b/bin/wmintro @@ -32,8 +32,14 @@ sleep 0.25 WINIT_X11_SCALE_FACTOR=1.0 alacritty -e tty-clock -srDB & sleep 0.25 +# we want the fun stuff to be visible, it's more important than the player +if [ "${MONITORS}" -eq "1" ]; then + bspc desktop -f 2 +fi + while [ -n "$(pgrep -x musikbox)" ]; do sleep 1; done bspc rule -r * killall alacritty -bspc monitor -f 1 + +bspc desktop -f 1 |