← All projects

Touch Bar Status

A Linux status bar on a MacBook Touch Bar

Daemon and CLI that render system status onto a T2 MacBook Touch Bar under Linux, with a tiny-dfr restart guard.

This project puts live system status on the Touch Bar of a T2 MacBook running Linux. The default view rotates through IP address, Docker state, health, CPU, RAM, GPU, battery and a clock; drill-down views show individual metrics.

tiny-dfr handles the hardware but cannot run commands or show dynamic text, so the renderer writes a view to a state file that tiny-dfr hot-reloads. A CLI changes views, and a udev rule plus systemd service restart the backend when it drops.

It is a fix for one unusual machine, but it made that laptop practical to use every day.

Pythontiny-dfrsystemdudev

Live interactive demo