how to launch application launcher via latte dock using only Super key?

enter image description hereI want to open latte dock using only super key. Is there any way?


Solution 1:

According to the FAQ page of the project on GitHub, there are two ways to do this.

You can either edit ~/.config/kwinrc and add

[ModifierOnlyShortcuts]
Meta=org.kde.lattedock,/Latte,org.kde.LatteDock,activateLauncherMenu

or run the following commands in terminal

kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.lattedock,/Latte,org.kde.LatteDock,activateLauncherMenu"

then, in either case, reload KWin:

qdbus org.kde.KWin /KWin reconfigure