Skip to content

Instantly share code, notes, and snippets.

@Wilfred
Created June 8, 2021 18:46
Show Gist options
  • Save Wilfred/3836c66c74fa0f041331bc430dcc1569 to your computer and use it in GitHub Desktop.
Save Wilfred/3836c66c74fa0f041331bc430dcc1569 to your computer and use it in GitHub Desktop.
switch to firefox with hammerspoon
hs.hotkey.bind({"cmd", "alt", "ctrl"}, "F", function()
local app = hs.application'firefox'
if app ~= nil then
app:activate()
end
end)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment