mpd - improve ncmpcpp config in general and show pauze always
This commit is contained in:
parent
fbe9883fe6
commit
37a8b840ac
2 changed files with 8 additions and 8 deletions
|
@ -3,8 +3,8 @@
|
|||
if mpc -q; then
|
||||
case "$(mpc status | sed -n '2s/\[\(\w*\)\].*/\1/p')" in
|
||||
"playing") icon="<icon=music/play.xpm/>" ;;
|
||||
"paused") icon="<icon=music/pause.xpm/>" ;;
|
||||
*) icon="<icon=music/pause.xpm/>" ;;
|
||||
esac
|
||||
echo '<action=`urxvtc -e "ncmpcpp"`>'"$icon"'</action>'
|
||||
echo '<action=`urxvtc -e "ncmpcpp" "-c" "~/.config/ncmpcpp/config"`>'"$icon"'</action>'
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue