tradesloha.blogg.se

Hammerspoon spoon example
Hammerspoon spoon example




hammerspoon spoon example
  1. #HAMMERSPOON SPOON EXAMPLE CODE#
  2. #HAMMERSPOON SPOON EXAMPLE PLUS#

#HAMMERSPOON SPOON EXAMPLE CODE#

There are more Spoons at official spoon repository (you may need a little config before using them). Karabiner will do the custom mapping that we want and Hammerspoon will allow us to write some code in Lua to make custom shortcuts for applications. There are 15 built-in Spoons, learn about them at here.

hammerspoon spoon example

Please read ~/.hammerspoon/private/afor more details.įinally press cmd + ctrl + shift + r to reload the configuration. Define hspoonlist to decide which Spoons (a distributing format of Hammerspoon module) to be loaded. There are more Spoons at official spoon repository (you may need a little config before using them). Then modify the file ~/.hammerspoon/private/a:ĭefine hspoon_list to decide which Spoons (a distributing format of Hammerspoon module) to be loaded. hsaria2_host = " " - default host hsaria2_secret = "token " - YOUR OWN SECRET Customization More details cp ~/.hammerspoon/a ~/.hammerspoon/private/a Config aria2 host and token in ~/.hammerspoon/private/a, then you're ready to go. Hammerspoon info, screenshots & reviews Alternatives to Hammerspoon. At its core, Hammerspoon is just a bridge between the operating system and a Lua scripting engine. Pass hammerspoon variable into AppleScript and variable from inside AppleScript.

hammerspoon spoon example

Hey all I created SkyRocket.spoon to allow resizing or moving a window by clicking+dragging while. created a spoon for moving/resizing windows. You need to run aria2 with RPC enabled before using this. This is a tool for powerful automation of OS X. For example, I want to send just 'Shift, Shift', not 'Shift + A' or. I can do that already with no difficulty.) 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. These screenshots demostrate what awesome-hammerspoon is capable of. (Simple drawing on-screen is not a problem, so examples of geometric shapes are not helpful. Press opt + ? to toggle the help panel, which will show all opt related keybindings. If need help, press tab to toggle the keybindings cheatsheet.

#HAMMERSPOON SPOON EXAMPLE PLUS#

Just press opt, plus A or C or R… to start. Extract the zip file, containing MiroWindowsManager.spoon in /.hammerspoon/. It has highly modal-based, vim-style keybindings, provides some functionality like desktop widgets, window management, application launcher, instant search, aria2 frontend. This script needs Hammerspoon in order to work. Awesome-hammerspoon is my configuration for Hammerspoon.






Hammerspoon spoon example