When comparing Hammerspoon vs Slate, the Slant community recommends Slate for most people. In the question“What are the best power user tools for macOS?” Slate is ranked 22nd while Hammerspoon is ranked 37th. The most important reason people chose Slate is:
Ranked in these QuestionsQuestion Ranking
Pro Deeply customizable
Hammerspoon's Lua scripting and broad API allows you to perform any action you can imagine on your mac. It hooks into many OS APIs directly and has some high-level APIs to manipulate things like Spotify or iTunes. See the full list here.
Pro Automate actions based on the operating system
Hammerspoon lets you hook into OS level events and trigger any action you can imagine. From setting up a simple keyboard shortcut to launching a complex workflow using multiple apps and scripts.
Pro Extremely configurable
Pro It's free
Slate is completely free to download and use, which is a great option in a field of Mac WMs that often costs money to use.
Pro Lets you set default layouts
By using a feature called "snapshots", users can set up different default window layouts in Slate that they can switch to and from on the fly.
Pro Allows for tiling
Slate allows for customizing the config file in order to emulate tiling windows.
Pro Window hints
Slate offers window hints which are an intuitive way to change window focus.
Pro Based on hotkeys
Hotkeys can be set to re-size and focus windows, as well as activate layout presets.
Con Some knowledge of programming required
Hammerspoon is scripted in the Lua programming language, and some familiarity with programming in general will be needed to use it. Some plugins exist that can be used by adding some files to a specific folder, but this will not give the flexibility that is so key to Hammerspoon
Con Project maintainance is on pause
The developer is currently taking a pause to focus on other things as of December 2015.
Con Hard to configure
There's no graphical user interface for configuring Slate, meaning it has to be done from the command line interface or by editing a config file. This makes it somewhat difficult and time-consuming.
Con Missing features
Unable to perform all tasks of software it was meant to replace.
Can not move windows between 'Spaces' (virtual desktops).
Con Video fail
Demonstration video failed to highlight any of the advantages of the windowing system. Or at least, the advantages were so subtly intrinsic that no-one who didn't already use the system could appreciate them.