A macOS tool to read and control keyboard brightness
Print out current settings
$ keyboard
Auto Brightness enabled: true
Idle Dim Time: 30.0
Brightness: 0.5
Configure
# set one or more
keyboard set --idle-dim-time 0.5 --brightness 0.5 --auto-brightness true
Via Github
git clone [email protected]:oschrenk/keyboard.swift.git
cd keyboard.swift
# installs to $(HOME)/.local/bin/keyboard
make install
Via homebrew
brew tap oschrenk/made [email protected]:oschrenk/homebrew-made
brew install oschrenk/made/keyboard
Dependencies
brew install swiftlint
- Build
make build
- Run
make run
make release
# produces artifact in in ./.build/release/keyboard