mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-08 04:34:00 +02:00
bgnotify: execute notifu in background
notifu 1.6 waits till notification was dissmised
This commit is contained in:
parent
5464fe3e4a
commit
5a9f1656bb
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue