Rebind the Meta Key

Using D-Bus it’s possible to query the set of available shortcut names

qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.shortcutNames | sort

The kwriteconfig5 command can then be used to edit the kwinrc file to remap the key binding

kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.kglobalaccel,/component/kwin,org.kde.kglobalaccel.Component,invokeShortcut,<shortcut-name>"

Finally, poke KWin via D-Bus to reload the config

qdbus org.kde.KWin /KWin reconfigure

Windows/Meta Key