aboutsummaryrefslogtreecommitdiffstats
path: root/bin/udt-palette
diff options
context:
space:
mode:
Diffstat (limited to 'bin/udt-palette')
-rwxr-xr-xbin/udt-palette20
1 files changed, 3 insertions, 17 deletions
diff --git a/bin/udt-palette b/bin/udt-palette
index 3fcb355..09731de 100755
--- a/bin/udt-palette
+++ b/bin/udt-palette
@@ -416,19 +416,6 @@ def gen_homepage(res, scheme, palette):
"""
-def gen_dunst(res, scheme, palette, template):
- """dunst: substitute colours into the shipped template.
-
- Kept as a template rather than fully generated: dunstrc is mostly geometry
- and behaviour that has nothing to do with colour. @ACCENT@ is left alone,
- because udt-accent substitutes it per wallpaper after pywal renders it.
- """
- out = template.replace("@SCHEME@", scheme)
- for role in ("bg", "bg_alt", "fg", "fg_dim", "border", "critical"):
- out = out.replace(f"@{role.upper()}@", hex6(res[role]))
- return out
-
-
def gen_sublime(res, scheme, palette, template):
"""Sublime Text: substitute the palette into the colour scheme.
@@ -437,9 +424,9 @@ def gen_sublime(res, scheme, palette, template):
costs no new roles and every shipped scheme satisfies it without touching
nine role maps.
- @ACCENT@ is left alone for udt-accent, exactly as in the dunst template:
- Sublime colour schemes do not cascade, so the accent cannot arrive as a
- second file and has to be substituted into this one.
+ @ACCENT@ is left alone for udt-accent: Sublime colour schemes do not
+ cascade, so the accent cannot arrive as a second file and has to be
+ substituted into this one.
"""
out = template.replace("@SCHEME@", scheme)
for role in ("bg", "bg_alt", "bg_deep", "surface", "surface_alt",
@@ -580,7 +567,6 @@ TARGETS = [
("rofi/udt/palette.rasi", gen_rofi, None),
("templates/waybar/theme.css", gen_waybar, None),
("templates/terminal/kitty-theme.conf", gen_kitty, None),
- ("templates/dunstrc", gen_dunst, "templates/dunstrc.in"),
("templates/conky.conf", gen_conky, "templates/conky.conf.in"),
("bin/udt_colors.py", gen_accent_py, None),
("templates/homepage/custom.css", gen_homepage, None),