diff options
| -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: |
