aboutsummaryrefslogtreecommitdiff
path: root/list-unwatched.py
diff options
context:
space:
mode:
authorMidov <midov@midov.pl>2022-04-05 21:59:36 +0200
committerdec05eba <dec05eba@protonmail.com>2022-04-05 22:57:43 +0200
commitc83325a3699748e08395180529deff658ca27a58 (patch)
tree599c0b3896a52220a0f7f3d2cfc338ce5248985b /list-unwatched.py
parentbc9bc9192752cf4329830199107c64ea9c65d542 (diff)
add appname parameter for notify-send
Diffstat (limited to 'list-unwatched.py')
-rwxr-xr-xlist-unwatched.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/list-unwatched.py b/list-unwatched.py
index ba56876..874df7b 100755
--- a/list-unwatched.py
+++ b/list-unwatched.py
@@ -5,7 +5,7 @@ import subprocess
def show_notification(title, description, urgency):
print("Notification: title: %s, description: %s" % (title, description))
- process = subprocess.Popen(["notify-send", "-t", "10000", "-u", urgency, "--", title, description])
+ process = subprocess.Popen(["notify-send", "-a", "automedia", "-t", "10000", "-u", urgency, "--", title, description])
stdout, stderr = process.communicate()
return process.returncode == 0