Minimal life tracker designed for Magic: The Gathering
- Rust 100%
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README | ||
Serra
A Magic: The Gathering life counter for minimal Linux touchscreen devices.
Supports 2-6 players. Built on raw kernel APIs (DRM/KMS + evdev) with no
desktop environment required.
Features
- 2-6 players with automatic panel layout
- Starting life of 20 or 40
- Status bar showing system time and battery percentage
Requirements
- Linux with DRM/KMS support
- A touchscreen input device (/dev/input/event*)
- Rust toolchain (for building)
- User in the "video" and "input" groups, or an active logind session
Running
Serra auto-detects the first DRM card and the first touchscreen input device.
You can override these with environment variables:
SERRA_DRM DRM device path (default: /dev/dri/card0)
SERRA_INPUT Input event device path (default: auto-detected)
SERRA_FONT_BOLD Path to bold TTF font (default: system font)
SERRA_FONT Path to regular TTF (default: system font)
Serra looks for Liberation Sans and DejaVu Sans in common system font
directories. Set SERRA_FONT / SERRA_FONT_BOLD to use a specific font file instead.
No GTK, X11, Wayland, libinput, or udev required at runtime.