🐛 fix wrong desktop order

nixos
Moritz Böhme 2022-02-20 22:58:51 +01:00
parent 1730c2cdd1
commit 57679eb4f5
No known key found for this signature in database
GPG Key ID: 213820E2795F5CF5
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# MONITORS # # MONITORS #
monitors=($(bspc query -M --names)) monitors=($(bspc query -M --names | sort -r))
desktops=$(expr 10 / ${#monitors[@]}) desktops=$(expr 10 / ${#monitors[@]})
start=1 start=1
end=$desktops end=$desktops

View File

@ -4,11 +4,11 @@
# Desktop # Desktop
# View desktop # View desktop
alt + {1-9,0} alt + {1-9,0}
bspc desktop -f {6-9,10,1-5} bspc desktop -f {1-9,10}
# Move node to desktop # Move node to desktop
alt + shift + {1-9,0} alt + shift + {1-9,0}
bspc node -d {6-9,10,1-5} bspc node -d {1-9,10}
# WM # WM