Skip to content

Instantly share code, notes, and snippets.

@xgenvn
Last active August 4, 2020 11:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xgenvn/1fe9dfb2bc6cb41c1b056b79e3d09d04 to your computer and use it in GitHub Desktop.
Save xgenvn/1fe9dfb2bc6cb41c1b056b79e3d09d04 to your computer and use it in GitHub Desktop.
KDE latte Win key
kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.lattedock,/Latte,org.kde.LatteDock,activateLauncherMenu"
qdbus org.kde.KWin /KWin reconfigure

Binding to Expose All or Present Windows

qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "ExposeAll"
kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.kglobalaccel,/component/kwin,org.kde.kglobalaccel.Component,invokeShortcut,ExposeAll"
qdbus org.kde.KWin /KWin reconfigure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment