There's a lot more, but anything that allows me to do those things should allow me to do anything else I want. I'd like to draw a dotted-line rectangle with curved corners and a shadow around specified grid segments as a preview of where a window would be moved if the user completed a certain command. Fixed: Potential crashes in hs.uielement.watcher, hs.audiodevice.watcher and hs.keycodes are now guarded against 0.9. If you experience crashes with this version of Hammerspoon, please report them on GitHub. A native Cocoa dialog would be better, but something graphically drawn on screen with Lua would be fine, as long as the details of the image are abstracted away for me, and I can just define the text and fields and buttons in the dialog. Fixed: A previous crash fix in hs.hotkey was not effective, it should now be. Ill point to what is mentioned in a somewhat related GitHub issue. The hs.eventtap API does, but using it would involve watching for every keyDown event. I'd like to display a dialog box in which the user can enter two values, to specify how many rows and how many columns they want in their screen grid. The hs.hotkey API doesnt provide functionality to be able to propagate the captured keydown event. To give two concrete examples of things I'd like to do: We should at least encourage a standard for the variant parameter name. This is not IMHO a good way of providing an easy to change config. github uses a lua function named setup with a parameter named themeStyle And so on. I initially thought one of the Lua libraries designed for building games would have more than I could possibly need, and looked into love2d, but it did not appear to be possible to use with Hammerspoon in any straightforward manner. Here is my lspconfig to add hammerspoon support. I can do that already with no difficulty.) ![]() (Simple drawing on-screen is not a problem, so examples of geometric shapes are not helpful. I'm new to Lua and Hammerspoon, and so far I've been unable to figure out how to get this working. The string 's' in this variable gets replaced with the value of TurboBoost.kextpath. This command must execute with root privileges and either query the user for the credentials, or be configured (e.g. I have moved this into the Hammerspoon github issues tracker since I believe it is something related to FUS and is something Hammerspoon should eventually be able to work with/around automatically. Command to execute to unload the DisableTurboBoost kernel extension. I'd like to use a more sophisticated graphics or GUI widget library in my Hammerspoon config file, in order to get user input and do more advanced drawing on the screen than Hammerspoon allows (as far as I can tell) by default. in the last few weeks I noticed that Hammerspoon freezes up a lot and is not responding to my keyboard short cuts anymore.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |