Make mailnag-notify.py notifications last forever
This commit is contained in:
parent
5f24a1e46b
commit
94885dd00f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user