summaryrefslogtreecommitdiff
path: root/scripts/mpc_picker
blob: 0e6fddc2a9ee232010c0a579f20b8531e4c4d4a8 (plain)
1
2
3
4
#!/bin/sh
chosen=$(mpc listall | dmenu -i -p mpd)
[ "$chosen" != "" ] || exit
mpc insert "$chosen"