↓ Skip to main content
  1. Series/

Learning Hammerspoon

Learn incrementally why and how to use Hammerspoon, a powerful automation utility for macOS.

Just Enough Lua to Be Productive in Hammerspoon, Part 1

Just Enough Lua to Be Productive in Hammerspoon, Part 1

·1326 words·7 mins
Hammerspoon’s configuration files are written in Lua, so a basic knowledge of the language is very useful to be an effective user of Hammerspoon. In this two-part article I will show you the basics of Lua so you can read and write Hammerspoon configuration. Along the way you will discover that Lua is a surprisingly powerful language.
Using Spoons in Hammerspoon

Using Spoons in Hammerspoon

·2021 words·10 mins
In this second article about Hammerspoon, we look into Spoons, modules written in Lua which can be easily installed and loaded into Hammerspoon to provide ready-to-use functionality. Spoons provide a predefined API to configure and use them. They are also a good way to share your own work with other users.
Getting Started With Hammerspoon

Getting Started With Hammerspoon

·1553 words·8 mins
This is the first installment of a series of posts about Hammerspoon, a staggeringly powerful automation utility which gives you an amazing degree of control over your Mac, allowing you to automate and control almost anything. In the word of Hammerspoon’s motto: Making the runtime, funtime.