bgnotify: execute notifu in background

notifu 1.6 waits till notification was dissmised
This commit is contained in:
Kukhar Vasily 2016-02-03 23:52:12 +02:00
commit 5a9f1656bb

View file

@ -44,7 +44,7 @@ bgnotify () { ## args: (title, subtitle)
elif hash kdialog 2>/dev/null; then #ubuntu kde! elif hash kdialog 2>/dev/null; then #ubuntu kde!
kdialog -title "$1" --passivepopup "$2" 5 kdialog -title "$1" --passivepopup "$2" 5
elif hash notifu 2>/dev/null; then #cygwyn support! elif hash notifu 2>/dev/null; then #cygwyn support!
notifu /m "$2" /p "$1" (notifu /m "$2" /p "$1" &)
fi fi
} }