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.

This commit is contained in:
Storm Dragon 2024-05-14 16:11:12 -04:00
parent c8ea6ee9f8
commit ede8e1e11c

4
i38.sh
View File

@ -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.