From e8638e761e40a7496cba90c27413810a6d53dbb7 Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 4 Jul 2026 13:22:08 +0200 Subject: [PATCH] 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. --- test/smoke/config.jsonc | 9 +++------ test/smoke/modules-config.jsonc | 3 +-- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/test/smoke/config.jsonc b/test/smoke/config.jsonc index 433b7007..461b04d8 100644 --- a/test/smoke/config.jsonc +++ b/test/smoke/config.jsonc @@ -9,18 +9,15 @@ "modules-center": ["custom/center"], "modules-right": ["custom/right"], "custom/left": { - "format": "Waybar", - "exec": "echo", + "exec": "echo Waybar", "interval": "once" }, "custom/center": { - "format": "CI smoke test", - "exec": "echo", + "exec": "echo 'CI smoke test'", "interval": "once" }, "custom/right": { - "format": "12:34", - "exec": "echo", + "exec": "echo 12:34", "interval": "once" } } diff --git a/test/smoke/modules-config.jsonc b/test/smoke/modules-config.jsonc index d6a7b9a8..108c51fc 100644 --- a/test/smoke/modules-config.jsonc +++ b/test/smoke/modules-config.jsonc @@ -12,8 +12,7 @@ "memory": {}, "disk": {}, "custom/hello": { - "format": "ok", - "exec": "echo", + "exec": "echo ok", "interval": "once" } }