clear music status on end of playlist
This commit is contained in:
parent
6fa4b3dce0
commit
222659f325
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
if [ $( mpc status | grep '\[paused\]' | wc -l ) -eq 1 ]; then
|
||||
if mpc status | grep -q '\[paused\]' || [ "$(mpc status | wc -l)" -eq 1 ]; then
|
||||
printf '\n'
|
||||
exit
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user