Browse Source

Set bspwm multi-monitor workspace names

master
Riyyi 5 years ago
parent
commit
a5cc3428e2
  1. 3
      .config/bspwm/bspwmrc
  2. 7
      .scripts/wm/desktops.sh

3
.config/bspwm/bspwmrc

@ -31,8 +31,7 @@ bspc config pointer_modifier mod4
#--- Desktops ---# #--- Desktops ---#
# Set desktops # Set desktops
bspc monitor -d "$WS1" "$WS2" "$WS3" "$WS4" "$WS5" \ $HOME/.scripts/wm/desktops.sh
"$WS6" "$WS7" "$WS8" "$WS9" "$WS0"
# Open program on specific desktop # Open program on specific desktop
bspc rule -a Firefox desktop="^$WS1" bspc rule -a Firefox desktop="^$WS1"

7
.scripts/wm/desktops.sh

@ -0,0 +1,7 @@
#!/bin/sh
for m in `bspc query -M`; do
bspc monitor $m -d \
"$WS1" "$WS2" "$WS3" "$WS4" "$WS5" \
"$WS6" "$WS7" "$WS8" "$WS9" "$WS0"
done
Loading…
Cancel
Save