diff options
| author | Blake Romero <blake@blkrom.com> | 2024-12-23 22:52:04 +0000 |
|---|---|---|
| committer | Blake Romero <blake@blkrom.com> | 2024-12-23 22:52:04 +0000 |
| commit | 4b9d5700d6761672c9c56a57132e0abf57a9ee60 (patch) | |
| tree | 263a4e3f4e17b3dc024cd5b77a6fdb9d21b3edd2 /mpd-menu | |
| parent | b407c24b76076bf9eff9be39cb04c13d2d17e091 (diff) | |
Add simple mpc script
Diffstat (limited to 'mpd-menu')
| -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 |
