diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-17 12:06:35 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-17 12:06:35 +0200 |
| commit | ec6ffd7a905de8c90512e16633c9741a9fe61c5b (patch) | |
| tree | 75f85aa210837f5c2e267e0d8eec03d5d4ca1c64 | |
| parent | 254e4f14b938b1440a55545ca0b104eb4ebcc4b0 (diff) | |
| download | unified-desktop-theme-ec6ffd7a905de8c90512e16633c9741a9fe61c5b.tar.gz unified-desktop-theme-ec6ffd7a905de8c90512e16633c9741a9fe61c5b.zip | |
feat: substitute the warning role into the conky template
| -rwxr-xr-x | bin/udt-palette | 2 |
1 files changed, 1 insertions, 1 deletions
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. |
