Hide panels on press

Is there any way I can switch true/false on panel vision? Because Auto-Hide is not way to go when u are moving ur cursor too fast, like whenever I’m pressing X button switch current panel vision to opposite.

There currently is no such setting in KDE Plasma, it only supports checking if the mouse has touched the panel that has auto-hide, and if so, shows it:

else if (m_containsMouse) {
    autoHide = false;

Via source mirror on GitHub for plasma-workspace in file panelview.cpp

You can also take a look here to issue a command to change the panel height (0 means hidden and 44 is the default i guess)

qdbus org.kde.plasmashell /PlasmaShell evaluateScript "p = panelById(panelIds[0]); p.height = 32 - p.height;"    
2 Likes