diff options
| -rwxr-xr-x | mpd-menu | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mpd-menu b/mpd-menu new file mode 100755 index 0000000..9e44f20 --- /dev/null +++ b/mpd-menu @@ -0,0 +1,7 @@ +#!/bin/sh + +song=$(ls ~/music | bemenu -p "Play") +[ -z "$song" ] && exit 1 +mpc clear +mpc add "$song" +mpc play |
