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.
24 lines
654 B
JSON
24 lines
654 B
JSON
// Deterministic Waybar config for the CI smoke/screenshot test.
|
|
// Uses only static custom modules (interval "once") so the rendered bar is
|
|
// reproducible and can be compared against a reference image.
|
|
{
|
|
"layer": "top",
|
|
"position": "top",
|
|
"height": 30,
|
|
"modules-left": ["custom/left"],
|
|
"modules-center": ["custom/center"],
|
|
"modules-right": ["custom/right"],
|
|
"custom/left": {
|
|
"exec": "echo Waybar",
|
|
"interval": "once"
|
|
},
|
|
"custom/center": {
|
|
"exec": "echo 'CI smoke test'",
|
|
"interval": "once"
|
|
},
|
|
"custom/right": {
|
|
"exec": "echo 12:34",
|
|
"interval": "once"
|
|
}
|
|
}
|