Update dmenu scripts

This commit is contained in:
2021-12-31 16:07:38 +01:00
parent 749fd7b3ac
commit 766c63824c
3 changed files with 26 additions and 0 deletions

12
.bin/dmenu-spot Executable file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
options="Play\nPause\nNext\nPrevious"
selected=$(echo -e "$options" | dmenu -i)
case "$selected" in
"Play") playerctl --player=ncspot play;;
"Pause") playerctl --player=ncspot pause;;
"Next") playerctl --player=ncspot next;;
"Previous") playerctl --player=ncspot previous;;
esac