Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
23 lines
776 B
Diff
23 lines
776 B
Diff
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!")
|