2021-06-28 23:13:55 +00:00
|
|
|
diff --git a/notifypy/os_notifiers/linux.py b/notifypy/os_notifiers/linux.py
|
2022-12-17 10:02:37 +00:00
|
|
|
index 5882481..e26eaaf 100644
|
2021-06-28 23:13:55 +00:00
|
|
|
--- a/notifypy/os_notifiers/linux.py
|
|
|
|
+++ b/notifypy/os_notifiers/linux.py
|
2022-12-17 10:02:37 +00:00
|
|
|
@@ -10,7 +10,7 @@ try:
|
|
|
|
from jeepney.io.blocking import open_dbus_connection
|
|
|
|
from shutil import which
|
2021-06-28 23:13:55 +00:00
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
- NOTIFY = which('notify-send') # alternatively: from ctypes.util import find_library
|
|
|
|
+ NOTIFY = '@notifysend@' # alternatively: from ctypes.util import find_library
|
2021-06-28 23:13:55 +00:00
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
if NOTIFY:
|
|
|
|
logger.info("libnotify found, using it for notifications")
|
|
|
|
@@ -22,7 +22,7 @@ try:
|
|
|
|
else:
|
|
|
|
raise ImportError
|
2021-06-28 23:13:55 +00:00
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
- APLAY = which('aplay')
|
|
|
|
+ APLAY = '@aplay@'
|
|
|
|
|
|
|
|
if APLAY == None:
|
|
|
|
logger.debug("aplay binary not installed.. audio will not work!")
|