1
0
Fork 0
dotfiles/hammerspoon/init.lua

10 lines
350 B
Lua

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)
hs.hotkey.bind(mod, "x", function() hs.execute("~/bin/pbclear") end)