[hammerspoon] move debug from Lua to Fennel

pull/35/head
Alpha Chen 3 years ago
parent 6e89065264
commit aa7a22aa9e

@ -18,6 +18,9 @@
(let [mash [:cmd :alt :ctrl]
smash [:cmd :alt :ctrl :shift]]
;; debugging
;; (hs.hotkey.bind mash "d" (fn []))
;; defeat paste blocking
(hs.hotkey.bind [:cmd :alt] "v" (fn [] (hs.eventtap.keyStrokes (hs.pasteboard.getContents)))))

@ -15,11 +15,6 @@ table.insert(package.loaders or package.searchers, fennel.searcher)
fennel.dofile("init.fnl", { allowedGlobals = false })
-- Debugging --
-- hs.hotkey.bind(mash, "d", function()
-- end)
-- Spoons --
hs.loadSpoon("Quitter")

Loading…
Cancel
Save