Change show menu shortcut


I check another thread and found a solution, which disabled the “alt” key from showing the menu bar. Unfortunaly the “cmd” key still toggles the menu bar. Adding the following lines to my keymap fixed alt, but not cmd:

‘alt’: ‘abort!’
‘cmd’: ‘abort!’
‘alt-f1’: ‘window:toggle-menu-bar’
‘cmd-f1’: ‘window:toggle-menu-bar’

Any Idea why that is the case and how I can fix it?