docs » AllBrightness

Listens for keyboard brightness keypresses and alters brightness on all supported displays. Note: This is primarily intended for Macs with no internal display, but should work for those with an internal display. Note: External displays will only respond to brightness change requests if they were either made by Apple, or are LG UltraFine displays (which were designed by Apple).

Download: https://github.com/Hammerspoon/Spoons/raw/master/Spoons/AllBrightness.spoon.zip

API Overview

API Documentation

Functions

start
Signature AllBrightness:start()
Type Function
Description

Starts listening for keyboard brightness keys

Parameters:

  • None

Returns:

  • None
stop
Signature AllBrightness:stop()
Type Function
Description

Stops listening for keyboard brightness keys

Parameters:

  • None

Returns:

  • None