~yerinalexey/dotfiles

ref: 144a38b0aa0a39003633d53b77fe4e3ca29c054b dotfiles/scripts/mpd-menu -rwxr-xr-x 185 bytes
144a38b0Alexey Yerin river,update-volume: fix old wob crashes 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
#!/bin/sh -e

# Select song in mpd

mpc playlist | \
	grep -Fxn "$(mpc playlist | bemenu -l 20 -i -p "Song:")" | \
	head -1 | \
	cut -d":" -f1 | \
	xargs -r -I{} mpc play {} >/dev/null