dot/scripts/mpc_picker

5 lines
99 B
Text
Raw Normal View History

2021-10-09 21:20:41 +00:00
#!/bin/sh
chosen=$(mpc listall | dmenu -i -p mpd)
[ "$chosen" != "" ] || exit
mpc insert "$chosen"