hammerspoon - initial config
authorPeng Li <seudut@gmail.com>
Fri, 8 Sep 2017 02:01:14 +0000 (10:01 +0800)
committerPeng Li <seudut@gmail.com>
Fri, 8 Sep 2017 02:01:14 +0000 (10:01 +0800)
hammerspoon/init.lua [new file with mode: 0644]

diff --git a/hammerspoon/init.lua b/hammerspoon/init.lua
new file mode 100644 (file)
index 0000000..9c0de3f
--- /dev/null
@@ -0,0 +1,4 @@
+hs.hotkey.bind({"cmd", "alt", "ctrl"}, "W", function()
+  hs.notify.new({title="Hammerspoon", informativeText="Hello World"}):send()
+--  hs.alert.show("Hello World!")
+end)