Created
May 11, 2025 23:44
-
-
Save benrowe/a57ae7c5d73e38fe61c33cb906a70f1b to your computer and use it in GitHub Desktop.
Hammerspoon config
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
-- Define the application name | |
local browserAppName = "Arc" | |
local terminalAppName = "Alacritty" | |
local ideAppName = "PhpStorm" | |
hs.hotkey.bind({}, "F13", function () | |
hs.application.launchOrFocus(terminalAppName) | |
end) | |
hs.hotkey.bind({}, "F14", function () | |
hs.application.launchOrFocus(ideAppName) | |
end) | |
hs.hotkey.bind({}, "F15", function() | |
hs.application.launchOrFocus(browserAppName) | |
end) | |
hs.hotkey.bind({}, "F16", function() | |
hs.application.launchOrFocus("Slack") | |
end) | |
hs.hotkey.bind({}, "F18", function() | |
hs.application.launchOrFocus("Discord") | |
end) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment