#Hammerspoon mouse zoom install#If you use brew cask, you can install Hammerspoon in seconds by running the command: brew cask install hammerspoon. The reason as to why this isn't the default behaviour is beyond me… HeadphoneAutoPause: play/pause music players when headphones are connected/disconnected.Caffeine: temporarily prevent the screen from going to sleep.Seal: pluggable launch bar - a viable alternative to Alfred.You'll soon find yourself building up a personalised arsenal of productivity tools, there are few I've found particularly helpful: Having been around for a few years, it is encouraging to know that there is a vibrant community developing Hammerspoon - with features and fixes being merged nearly every day! There is also a handy collection of user submitted snippets, known as "spoons", which you can easily begin adding to your own configuration. This allows you to quickly and easily write Lua code which interacts with the otherwise complicated macOS APIs, such as those for applications, windows, mouse pointers, filesystem objects, audio devices, batteries, screens, low-level keyboard/mouse events, clipboards, location services, wifi, and more. To do this, we will be using Hammerspoon, an open-source project, which aims to bring staggeringly powerful macOS desktop automation into the Lua scripting language. Today we will build the neat little utility illustrated in the gif above and, hopefully, inspire you to build something yourself. How often have you wanted a little something extra out of macOS, or it's desktop environment, but felt intimidated digging into the unwieldy system APIs? Well, fret no more! What is Hammerspoon and what can it do for me?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |