.hammerspoon/init.lua

changeset 906
1e388dfbe200
parent 734
294238afafac
child 907
df71b104b773
equal deleted inserted replaced
905:14c2238488ce 906:1e388dfbe200
1 hs.window.animationDuration = 0 1 hs.window.animationDuration = 0
2
3 -- set up reload on modify
4 hs.pathwatcher.new(os.getenv("HOME") .. "/.hammerspoon/", hs.reload):start()
5 2
6 -- aliases and partial bindings to make life easier 3 -- aliases and partial bindings to make life easier
7 local bindKey = hs.hotkey.bind 4 local bindKey = hs.hotkey.bind
8 local cmd = hs.fnutils.partial(bindKey, {"cmd"}) 5 local cmd = hs.fnutils.partial(bindKey, {"cmd"})
9 local cmdShift = hs.fnutils.partial(bindKey, {"cmd", "shift"}) 6 local cmdShift = hs.fnutils.partial(bindKey, {"cmd", "shift"})

mercurial