Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 790 Bytes

README.md

File metadata and controls

58 lines (40 loc) · 790 Bytes

README

A macOS tool to read and control keyboard brightness

Usage

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

Installation

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

Development

Dependencies

brew install swiftlint
  • Build make build
  • Run make run

Release

make release
# produces artifact in in ./.build/release/keyboard