calcurse: one-click Google login renewal

On expiry calcurse-sync starts calcurse-relogin, a notification that opens the consent page when clicked and catches the OAuth code on 127.0.0.1:8749. dunst's left-click now runs a notification's action before closing it.
This commit is contained in:
Daniele Fucini committed 2026-11-12 14:35:56 +01:00
1 parent 3bb25669ea
commit 566ac562bd
4 files changed
+121 -8

No files matched your search

+1 -1
View File
@@ -300,7 +300,7 @@
# * context_all: Open context menu for all notifications.
# These values can be strung together for each mouse event, and
# will be executed in sequence.
mouse_left_click = close_current
mouse_left_click = do_action, close_current
mouse_middle_click = do_action, close_current
mouse_right_click = close_all
@@ -0,0 +1,7 @@
[Unit]
Description=Ask to renew the calcurse Google Calendar login
[Service]
# simple: the prompt waits for a click without a start timeout
Type=simple
ExecStart=%h/.local/bin/calcurse-relogin --prompt