feat(custom): exec-if

This commit is contained in:
Alexis
2018-08-18 17:27:40 +02:00
parent 38ede5b3d5
commit b794ca63d1
3 changed files with 32 additions and 7 deletions

View File

@ -46,6 +46,7 @@
"custom/spotify": {
"format": " {}",
"max-length": 40,
"exec": "$HOME/.bin/mediaplayer.sh"
"exec": "$HOME/.bin/mediaplayer.sh",
"exec-if": "pgrep spotify"
}
}