hammerspoon: Set up Alacritty binding
This commit is contained in:
parent
48cd0647f7
commit
1a81af3dd5
4 changed files with 148 additions and 0 deletions
8
hammerspoon/init.lua
Normal file
8
hammerspoon/init.lua
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue