All is in the title, I would like to know the current monitor to rename the KDE Konsole
title accordingly to his position (left or right).
This way I will put in ~/.bashrc
or such by example :
qdbus org.kde.konsole $KONSOLE_DBUS_SESSION org.kde.konsole.Session.setTitle \
1 "LEFT"
to change the title of the Konsole
.
I took a look to the man pages of :
- xdotool
- xprop
And I play around qdbus
, but I'm just able to find the current desktop with
qdbus org.kde.kwin /KWin org.kde.KWin.currentDesktop
Any clue ?