mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
feat: add custom module to allow execution of external script
This commit is contained in:
@ -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"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user