ci(smoke): make custom modules emit text so the bar is not empty

The static custom modules used `exec: echo` (empty output), so the modules
rendered nothing and the bar strip was blank. Have exec print the label text
and use the default `{}` format.
This commit is contained in:
Alex
2026-07-04 13:22:08 +02:00
parent cf2f120ad7
commit e8638e761e
2 changed files with 4 additions and 8 deletions
+3 -6
View File
@@ -9,18 +9,15 @@
"modules-center": ["custom/center"], "modules-center": ["custom/center"],
"modules-right": ["custom/right"], "modules-right": ["custom/right"],
"custom/left": { "custom/left": {
"format": "Waybar", "exec": "echo Waybar",
"exec": "echo",
"interval": "once" "interval": "once"
}, },
"custom/center": { "custom/center": {
"format": "CI smoke test", "exec": "echo 'CI smoke test'",
"exec": "echo",
"interval": "once" "interval": "once"
}, },
"custom/right": { "custom/right": {
"format": "12:34", "exec": "echo 12:34",
"exec": "echo",
"interval": "once" "interval": "once"
} }
} }
+1 -2
View File
@@ -12,8 +12,7 @@
"memory": {}, "memory": {},
"disk": {}, "disk": {},
"custom/hello": { "custom/hello": {
"format": "ok", "exec": "echo ok",
"exec": "echo",
"interval": "once" "interval": "once"
} }
} }