From 20f1b7bab5811f2ca4d2b0af93a0318adaf2fcac Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 19 Oct 2026 09:16:20 +0200 Subject: feat(notifyctl): add reload, re-reading the config file The daemon also reads the file at start. Armed timers keep their lifetime; the next notification gets the new default. Co-Authored-By: Claude Opus 5.5 --- cmd/notifyctl/main.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cmd') diff --git a/cmd/notifyctl/main.go b/cmd/notifyctl/main.go index e0875e7..6de678e 100644 --- a/cmd/notifyctl/main.go +++ b/cmd/notifyctl/main.go @@ -30,6 +30,7 @@ func usage() { close-all dismiss every notification action invoke an action on a live notification clear-history empty the history ring + reload re-read ~/.config/notifyd/config.json `, filepath.Base(os.Args[0])) os.Exit(2) } @@ -69,6 +70,8 @@ func main() { callControl("InvokeAction", id, os.Args[3]) case "clear-history": callControl("ClearHistory") + case "reload": + callControl("Reload") default: usage() } -- cgit v1.2.3