fix: kill mpc-current when mpc unavailable
This commit is contained in:
parent
6215d6772d
commit
9b8c331a6a
|
@ -1,5 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
[ ! -x "$(command -v mpc)" ] && exit
|
||||
|
||||
alias mpc-current='mpc -f "%title% - %album% - %artist%" current'
|
||||
|
||||
mpc-current
|
||||
|
|
Loading…
Reference in a new issue