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.
19 lines
581 B
JSON
19 lines
581 B
JSON
// Waybar config for the CI smoke test: exercises real modules that work in a
|
|
// headless environment (no hardware/daemon dependency). Its content is dynamic
|
|
// (time, cpu, ...) so it is NOT screenshot-compared — it only checks that these
|
|
// modules load and render without crashing the bar.
|
|
{
|
|
"layer": "top",
|
|
"position": "top",
|
|
"height": 30,
|
|
"modules-center": ["clock", "cpu", "memory", "disk", "custom/hello"],
|
|
"clock": {},
|
|
"cpu": {},
|
|
"memory": {},
|
|
"disk": {},
|
|
"custom/hello": {
|
|
"exec": "echo ok",
|
|
"interval": "once"
|
|
}
|
|
}
|