aboutsummaryrefslogtreecommitdiff
path: root/sxhkd/scripts/sxhkd/rofi_new.sh
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2021-12-28 10:49:08 +0100
committerSébastien Dailly <sebastien@dailly.me>2021-12-28 10:49:08 +0100
commit8ce590c46ce9c80d560c9e1dfc59ad52ba7a652f (patch)
treeb52e4c3f8d33d6709cee882d902d30abe0faacda /sxhkd/scripts/sxhkd/rofi_new.sh
parent04d3e738b108fddcf2bb0cc9dac24da47ddbe672 (diff)
Update bspwm scripts
Diffstat (limited to 'sxhkd/scripts/sxhkd/rofi_new.sh')
-rwxr-xr-xsxhkd/scripts/sxhkd/rofi_new.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/sxhkd/scripts/sxhkd/rofi_new.sh b/sxhkd/scripts/sxhkd/rofi_new.sh
index 47a0ae7..b1e19d8 100755
--- a/sxhkd/scripts/sxhkd/rofi_new.sh
+++ b/sxhkd/scripts/sxhkd/rofi_new.sh
@@ -2,6 +2,8 @@
if [ -z $1 ]; then
cat <(echo -e "Chat\nWeb\nMail\nMusique") <(bspc query --names -D) | sort -u
else
- ~/scripts/sxhkd/show.sh $1
+ for desktop in $(echo $1 | tr "," "\n"); do
+ ~/scripts/sxhkd/show.sh $desktop
+ done
fi