I think it would be cool if we had proper space to share snippets like this, linking to whole init.lua files on wiki is nice, but mine is almost 800 lines of code, and I doubt if anyone wants to read all of that to find things like this (well, I sometimes waste time like that, but still...).
I'd be interested to see what things other people came up with, and to hear about your crazy HS workflows!
S.
--
You received this message because you are subscribed to a topic in the Google Groups "Hammerspoon" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hammerspoon/VabaeIBw9qw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hammerspoon...@googlegroups.com.
To post to this group, send email to hamme...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/hammerspoon/d5ebcd19-b90c-458d-89f6-6fb9d288c062%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
hs.hotkey.bind({ 'cmd', 'ctrl' }, 'b', function() smartLaunchOrFocus({ 'Safari' }) end)
*** ERROR: /Users/USER/.hammerspoon/init.lua:255: attempt to index a nil value (global 'ext')
stack traceback:
/Users/USER/.hammerspoon/init.lua:255: in main chunk
[C]: in function 'xpcall'
...app/Contents/Resources/extensions/hs/_coresetup/init.lua:410: in function 'hs._coresetup.setup'
(...tail calls...)
--
You received this message because you are subscribed to the Google Groups "Hammerspoon" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hammerspoon...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/hammerspoon/55bd0e51-5ece-4692-9818-6e2ab41986f3%40googlegroups.com.