feat: add custom module to allow execution of external script

This commit is contained in:
Alexis
2018-08-10 16:26:46 +02:00
parent e5fcbe8017
commit e16cce646b
9 changed files with 88 additions and 7 deletions

View File

@ -1,5 +1,5 @@
{
"modules-left": ["workspaces"],
"modules-left": ["workspaces", "custom/spotify"],
"modules-right": ["pulseaudio", "network", "cpu", "memory", "battery", "clock"],
"cpu": {
"format": "{}% "
@ -17,5 +17,9 @@
"pulseaudio": {
"format": "{}% ",
"format-muted": ""
},
"custom/spotify": {
"format": " {}",
"exec": "$HOME/.bin/mediaplayer.sh"
}
}