Initial commit of Hammerspoon config
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
-- ~/.hammerspoon/HyperKey.lua
|
||||
|
||||
-- Define the Hyper Key global (Cmd + Alt + Ctrl + Shift)
|
||||
-- Map Caps Lock to this combo using Karabiner-Elements
|
||||
|
||||
-- hyper = {"ralt"}
|
||||
hyper = {"cmd", "alt", "ctrl", "shift"}
|
||||
|
||||
-- Global Shortcuts
|
||||
hs.hotkey.bind(hyper, "R", function()
|
||||
hs.reload()
|
||||
end)
|
||||
|
||||
print("HyperKey Module: Set to CAPS Lock")
|
||||
|
||||
return hyper
|
||||
Reference in New Issue
Block a user