1
0
Fork 0

hammerspoon: Set up Alacritty binding

This commit is contained in:
Jeremy Kaplan 2021-05-03 15:07:32 -07:00
commit 1a81af3dd5
4 changed files with 148 additions and 0 deletions

8
hammerspoon/init.lua Normal file
View file

@ -0,0 +1,8 @@
hs.loadSpoon("ReloadConfiguration")
spoon.ReloadConfiguration:start()
local mod = {"alt", "shift"}
hs.hotkey.bind(mod, "Return", function()
-- -n: Always open a new instance. I want it to open in my home directory.
hs.execute("open -n /Applications/Alacritty.app")
end)