Skip to content

Instantly share code, notes, and snippets.

View craigcalef's full-sized avatar
💭
It is by my will alone that I set my mind in motion.

Craig Calef craigcalef

💭
It is by my will alone that I set my mind in motion.
View GitHub Profile
@lynaghk
lynaghk / midi-brightness.py
Last active August 5, 2025 00:30
control macos brightness of monitor(s) via MIDI input
#!/usr/bin/env python3
# launch with `uv run`. https://docs.astral.sh/uv/
# uses https://github.com/waydabber/betterdisplay/ to control the monitors
# /// script
# dependencies = [
# "python-rtmidi==1.5.8",
# "requests==2.32.4",