From ede8e1e11c877f9f991efdc96a89f95e954295f7 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Tue, 14 May 2024 16:11:12 -0400 Subject: [PATCH] Prefer xfce4 notofication daemon. It only works with latest orca from git currently, so fall back to notification-daemon if xfce4 notification daemon is not available but notoification-daemon is, otherwise no notifiactions at all. --- i38.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/i38.sh b/i38.sh index 52a1300..bd37ded 100755 --- a/i38.sh +++ b/i38.sh @@ -627,7 +627,9 @@ fi if [[ $udiskie -eq 0 ]]; then echo 'exec --no-startup-id udiskie' fi -if [[ -x "/usr/lib/notification-daemon-1.0/notification-daemon" ]]; then +if [[ -x "/usr/lib/xfce4/notifyd/xfce4-notifyd" ]]; then + echo 'exec_always --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd' +elif [[ -x "/usr/lib/notification-daemon-1.0/notification-daemon" ]]; then echo 'exec_always --no-startup-id /usr/lib/notification-daemon-1.0/notification-daemon -r' fi # Work around for weird Void Linux stuff.