mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-20 01:42:38 +02: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