Last active
March 8, 2025 08:53
-
-
Save maurofaccenda/aca92d695220e545c5e7ffd28dc365c4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hs.hotkey.bind({}, "§", function() hs.eventtap.keyStroke({}, "`") end ) | |
hs.hotkey.bind({ "cmd" }, "§", function() hs.eventtap.keyStroke({ "cmd" }, "`") end ) | |
hs.hotkey.bind({ "shift" }, "§", function() hs.eventtap.keyStroke({ "shift" }, "`") end ) | |
hs.hotkey.bind({ "cmd", "shift" }, "§", function() hs.eventtap.keyStroke({ "cmd", "shift" }, "`") end ) |
My current MacBook has the American keyboard layout, so I don't need this anymore, however, it is important to keep this updated for those who need it.
Thank you @ghigt and @VojtechVitek. I updated the first comment to reflect your findings.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add
Terminal
to your settings : https://support.apple.com/guide/mac-help/control-access-to-input-monitoring-on-mac-mchl4cedafb6/mac