From 94885dd00f0be4115a16f97dfda072ddb301aab4 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Sun, 25 Dec 2022 16:52:18 -0800 Subject: [PATCH] Make mailnag-notify.py notifications last forever --- mailnag-notify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailnag-notify.py b/mailnag-notify.py index 210c699..fa8f291 100755 --- a/mailnag-notify.py +++ b/mailnag-notify.py @@ -4,7 +4,7 @@ import subprocess def notify_send(subj, data): - result = subprocess.run(["notify-send", subj, data]) + result = subprocess.run(["notify-send", "-t", "0", subj, data]) if result.returncode == -127: print("error: notify-send program not found in PATH", file=sys.stderr) exit(1)