This project was heavily inspired by @pirate's repo.
This script has only been tested on Manjaro on the MacBook Air, but I am pretty sure it will work on other Linux distros running on MacBooks. This does not work on MacOS!
Python dependencies
numpy
pyaudio
Other
kbdlight
(Available on the AUR)
Just run the python script and let the magic happen β¨
$ python3 mbkv.py
I need to make the script more sensitive? At the moment, it only has three levels so, sometimes the lights are at maximum for a long time at the same brightness