Originally added in #1063, but did not actually work because it only looked for konsole processes (rather than yakuake's) when querying its session profile.