[hammerspoon] convert more lua to fennel

pull/35/head
Alpha Chen 3 years ago
parent ad23855ef5
commit 7c5c66610f

@ -30,3 +30,12 @@
(hs.urlevent.openURLWithBundle fullURL "us.zoom.xos") (hs.urlevent.openURLWithBundle fullURL "us.zoom.xos")
(hs.urlevent.openURLWithBundle fullURL "org.mozilla.firefoxdeveloperedition"))))) (hs.urlevent.openURLWithBundle fullURL "org.mozilla.firefoxdeveloperedition")))))
(hs.loadSpoon "ReloadConfiguration")
(spoon.ReloadConfiguration:start)
(let [n (hs.notify.new {
:title "Hammerspoon"
:informativeText "Config loaded"
:withdrawAfter 2
})]
(n:send))

@ -32,12 +32,3 @@ spoon.Quitter.quitAppsAfter = {
["com.tinyspeck.slackmacgap"] = 600, ["com.tinyspeck.slackmacgap"] = 600,
} }
-- spoon.Quitter:start() -- spoon.Quitter:start()
hs.loadSpoon("ReloadConfiguration")
spoon.ReloadConfiguration:start()
hs.notify.new({
title = "Hammerspoon",
informativeText = "Config loaded",
withdrawAfter = 2,
}):send()

Loading…
Cancel
Save