Add dbus profile() to return profile name of current session

Authored by hindenburg on Sep 27 2019, 2:12 AM.

Description

Add dbus profile() to return profile name of current session

Instead of relying on env variable KONSOLE_PROFILE_NAME, which is
invalid upon switching profiles, use a dbus method profile().

qdbus $KONSOLE_DBUS_SERVICE $KONSOLE_DBUS_SESSION profile

CCBUG:406955

Details

Committed
hindenburgSep 27 2019, 2:12 AM
Parents
R319:962776796e6f: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown