5e1d351339d9ea10023fbf175efcd0515cea0a94

Author
Chris <hostinspace@gmail.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

bgnotify: use double dash in kdialog title option (#7153)

The options for kdialog in KDE use double dashes

Diff

 1diff --git a/plugins/bgnotify/bgnotify.plugin.zsh b/plugins/bgnotify/bgnotify.plugin.zsh
 2index 459f5214e62c07d62d65dbd98901ea2c4dc82bcc..b3a6890b8f3aa7fd4ffa9bac49d0e36b5b1f2c1a 100644
 3--- a/plugins/bgnotify/bgnotify.plugin.zsh
 4+++ b/plugins/bgnotify/bgnotify.plugin.zsh
 5@@ -42,7 +42,7 @@ bgnotify () { ## args: (title, subtitle)
 6   elif hash notify-send 2>/dev/null; then #ubuntu gnome!
 7     notify-send "$1" "$2"
 8   elif hash kdialog 2>/dev/null; then #ubuntu kde!
 9-    kdialog  -title "$1" --passivepopup  "$2" 5
10+    kdialog --title "$1" --passivepopup  "$2" 5
11   elif hash notifu 2>/dev/null; then #cygwyn support!
12     notifu /m "$2" /p "$1"
13   fi