From ec6ffd7a905de8c90512e16633c9741a9fe61c5b Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Thu, 17 Sep 2026 12:06:35 +0200 Subject: feat: substitute the warning role into the conky template --- bin/udt-palette | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/udt-palette b/bin/udt-palette index 9fd202c..9bd3838 100755 --- a/bin/udt-palette +++ b/bin/udt-palette @@ -555,7 +555,7 @@ def gen_conky(res, scheme, palette, template): """ out = template.replace("@SCHEME@", scheme) for role in ("heading", "label", "rule", "value", "highlight", "ok", - "body", "body_outline", "body_shade", "critical"): + "body", "body_outline", "body_shade", "critical", "warning"): out = out.replace(f"@{role.upper()}@", hex6(res[role])) # own_window_colour takes '#AARRGGBB', so the window background needs the # shade colour without its leading '#' to sit after the alpha pair. -- cgit v1.2.3