]> git.alrj.org Git - zsh.d.git/blobdiff - wrappers/konsoleautowrap
Correct Konsole tab renaming
[zsh.d.git] / wrappers / konsoleautowrap
index 78ebd5a569bc0e3982e5712ead53f8ed70b854dd..2bc9dca9f82cd3676b7c6e388858703bc91e19e1 100755 (executable)
@@ -10,8 +10,8 @@ then
   dcop ${KONSOLE_DCOP_SESSION} renameSession "$lastarg"
 elif [ -n "$KONSOLE_DBUS_SESSION" ]
 then
-  qdbus org.kde.konsole ${KONSOLE_DBUS_SESSION} setTitle 0 "$lastarg" > /dev/null
-  qdbus org.kde.konsole ${KONSOLE_DBUS_SESSION} setTitle 1 "$lastarg" > /dev/null
+  qdbus ${KONSOLE_DBUS_SERVICE} ${KONSOLE_DBUS_SESSION} setTitle 0 "$lastarg" > /dev/null
+  qdbus ${KONSOLE_DBUS_SERVICE} ${KONSOLE_DBUS_SESSION} setTitle 1 "$lastarg" > /dev/null
 fi
 exec $cmd "$@"