diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-18 11:44:58 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-18 11:44:58 +0200 |
| commit | 4b178c97e0566340d2bfb58f32dbb053dd6d330c (patch) | |
| tree | e52f467a2d2ff2f6749a0e63fd5799e051e7e885 | |
| parent | 031b7de5ed656da24dece5d8642afa63e5dbacdf (diff) | |
| download | cal-notif-4b178c97e0566340d2bfb58f32dbb053dd6d330c.tar.gz cal-notif-4b178c97e0566340d2bfb58f32dbb053dd6d330c.zip | |
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-x | cal-notif | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: |
