blob: b87067c70a05083669b082c2570d6c43e1a837e1 (
plain)
1
2
3
4
5
6
7
|
#!/bin/sh
# If the required desktop does not exists, create it
bspc query --desktops --names | grep --quiet "$1" || bspc monitor --add-desktops "$1"
# Switch to the desired desktop
bspc desktop --focus "$1"
|