From 166946b54165f2fc97c57f576b2d8152d31ab81d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 11 Mar 2021 10:01:05 +0000 Subject: [PATCH] Extra notification method --- notifications_client.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/notifications_client.py b/notifications_client.py index c8662d01f..e0c43c9f2 100644 --- a/notifications_client.py +++ b/notifications_client.py @@ -95,6 +95,10 @@ def _desktopNotification(notificationType: str, if notificationType == 'notify-send': # Ubuntu os.system('notify-send "' + title + '" "' + message + '"') + elif notificationType == 'zenity': + # Zenity + os.system('zenity --notification --title "' + title + + '" --text="' + message + '"') elif notificationType == 'osascript': # Mac os.system("osascript -e 'display notification \"" +