about summary refs log tree commit diff
path: root/pkgs/development/python-modules/notify-py/linux-paths.patch
blob: 19965f33996fe7118ee1a10a85c6ae140473b54a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/notifypy/os_notifiers/linux.py b/notifypy/os_notifiers/linux.py
index 5882481..e26eaaf 100644
--- a/notifypy/os_notifiers/linux.py
+++ b/notifypy/os_notifiers/linux.py
@@ -10,7 +10,7 @@ try:
     from jeepney.io.blocking import open_dbus_connection
     from shutil import which
 
-    NOTIFY = which('notify-send') # alternatively: from ctypes.util import find_library 
+    NOTIFY = '@notifysend@' # alternatively: from ctypes.util import find_library 
 
     if NOTIFY:
         logger.info("libnotify found, using it for notifications")
@@ -22,7 +22,7 @@ try:
         else:
             raise ImportError
 
-    APLAY = which('aplay')
+    APLAY = '@aplay@'
 
     if APLAY == None:
         logger.debug("aplay binary not installed.. audio will not work!")