Remapping the F4 key to Launchpad from Spotlight automatically on start
Well, below written code works in Terminal but the key resets to Spotlight after every restart. I'd love to know if there is a permanent way to remap the Spotlight key(F4) to launchpad since CMD+Space is easy enough to remember :)
hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0xC00000221,"HIDKeyboardModifierMappingDst":0x0C000002A2}]}'
MacBook Pro 14″, macOS 12.0