control your Mac's screen and keyboard light from linux
Haskell Makefile
Switch branches/tags
Nothing to show
Latest commit 5a76cf7 Mar 15, 2017 @tych0 fix build with latest optparse applicative
Signed-off-by: Tycho Andersen <tycho@tycho.ws>
Permalink
Failed to load latest commit information.
src
tests
.gitignore
.travis.yml
LICENSE
Makefile
README.md
maclight.cabal

README.md

Maclight - control your Mac's screen and keyboard light from linux

Maclight is both a command line utility and a haskell library for controlling your Mac's screen and keyboard backlights on Linux. Installation on Debian-esque systems is typically something like:

sudo apt-get install cabal-install
cabal update
git clone https://github.com/tych0/maclight
cd maclight
cabal install --only-dependencies
sudo make install

The maclight binary is installed suid because the files used to control the lights are only accessable by root. However, the source is small, so hopefully (:D) there are no local root vulns. Usage looks like:

maclight keyboard up
maclight screen set=300
maclight keyboard down