aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-18 11:44:58 +0200
committerDanilo M. <danix@danix.xyz>2026-10-18 11:44:58 +0200
commit4b178c97e0566340d2bfb58f32dbb053dd6d330c (patch)
treee52f467a2d2ff2f6749a0e63fd5799e051e7e885
parent031b7de5ed656da24dece5d8642afa63e5dbacdf (diff)
downloadcal-notif-4b178c97e0566340d2bfb58f32dbb053dd6d330c.tar.gz
cal-notif-4b178c97e0566340d2bfb58f32dbb053dd6d330c.zip
feat(pick): icon titles for the rofi promptsHEADmaster
The udt layouts now show -p as a title plate over a wallpaper banner, so the prompts get a glyph and a colon like the other menus. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
-rwxr-xr-xcal-notif4
1 files changed, 2 insertions, 2 deletions
diff --git a/cal-notif b/cal-notif
index 21977e7..c0f5015 100755
--- a/cal-notif
+++ b/cal-notif
@@ -443,12 +443,12 @@ def pick():
fmt = lambda o: f"{o.start:%d.%m} " if o.allday else f"{o.start:%d.%m %H:%M}"
lines = [f"{fmt(o)} · {o.cal} · {o.summary} · [{', '.join(current_offsets(o, cfg, ov))}]"
for o in occs]
- i = rofi(lines, "evento", cfg["rofi_theme"], index=True)
+ i = rofi(lines, "󰃰 Evento:", cfg["rofi_theme"], index=True)
if i is None or not i.lstrip("-").isdigit() or int(i) < 0:
return
o, mesg = occs[int(i)], lines[int(i)]
presets = ["10m", "30m", "1h", "1d", "1d, 1h", "none", "reset"]
- while (s := rofi(presets, "avvisi", cfg["rofi_theme"], mesg=mesg)) is not None:
+ while (s := rofi(presets, "󰂚 Avvisi:", cfg["rofi_theme"], mesg=mesg)) is not None:
try:
offs = parse_choice(s)
except ValueError as e: