initlocal hammerspoon
This commit is contained in:
parent
6a6186b934
commit
f716abc786
1 changed files with 2 additions and 4 deletions
|
@ -1,7 +1,3 @@
|
||||||
-- Needed until https://github.com/Hammerspoon/hammerspoon/issues/2478 is fixed
|
|
||||||
hs.configdir = os.getenv('HOME') .. '/.hammerspoon'
|
|
||||||
package.path = hs.configdir .. '/?.lua;' .. hs.configdir .. '/?/init.lua;' .. hs.configdir .. '/Spoons/?.spoon/init.lua;' .. package.path
|
|
||||||
|
|
||||||
hs.loadSpoon("SpoonInstall")
|
hs.loadSpoon("SpoonInstall")
|
||||||
spoon.SpoonInstall.use_syncinstall = true
|
spoon.SpoonInstall.use_syncinstall = true
|
||||||
spoon.SpoonInstall:andUse("WindowScreenLeftAndRight")
|
spoon.SpoonInstall:andUse("WindowScreenLeftAndRight")
|
||||||
|
@ -17,6 +13,8 @@ spoon.WindowHalfsAndThirds:bindHotkeys(spoon.WindowHalfsAndThirds.defaultHotkeys
|
||||||
|
|
||||||
spoon.ReloadConfiguration:start()
|
spoon.ReloadConfiguration:start()
|
||||||
|
|
||||||
|
pcall(require, "initlocal")
|
||||||
|
|
||||||
hs.hotkey.bind({"cmd", "alt", "ctrl"}, "SPACE", function ()
|
hs.hotkey.bind({"cmd", "alt", "ctrl"}, "SPACE", function ()
|
||||||
spoon.Commander.show()
|
spoon.Commander.show()
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Add table
Reference in a new issue