From 4b178c97e0566340d2bfb58f32dbb053dd6d330c Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sun, 18 Oct 2026 11:44:58 +0200 Subject: feat(pick): icon titles for the rofi prompts 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 --- cal-notif | 4 ++-- 1 file 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: -- cgit v1.2.3