mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 15:20:08 +00:00
bgnotify: use double dash in kdialog title option (#7153)
The options for kdialog in KDE use double dashes
This commit is contained in:
parent
14fead0964
commit
5e1d351339
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ bgnotify () { ## args: (title, subtitle)
|
||||||
elif hash notify-send 2>/dev/null; then #ubuntu gnome!
|
elif hash notify-send 2>/dev/null; then #ubuntu gnome!
|
||||||
notify-send "$1" "$2"
|
notify-send "$1" "$2"
|
||||||
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…
Reference in a new issue