浏览代码

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

The options for kdialog in KDE use double dashes
Chris 5 年之前
父节点
当前提交
5e1d351339
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plugins/bgnotify/bgnotify.plugin.zsh

+ 1 - 1
plugins/bgnotify/bgnotify.plugin.zsh

@@ -42,7 +42,7 @@ bgnotify () { ## args: (title, subtitle)
   elif hash notify-send 2>/dev/null; then #ubuntu gnome!
     notify-send "$1" "$2"
   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!
     notifu /m "$2" /p "$1"
   fi