749bed7dfb4970a10a0153c8286ab172c84286b0
- kb-blackout: optimize trim(), fix log units, add jit fallback - ac-power: extract error handling helper, add capture_stderr, validate timeout, add security note, rename CONFIG to config - touch-gestures: add min_brightness config, optimize brightnessctl to single call, improve wpctl regex, add shutdown handler
mpv-scripts
Small collection of personal mpv Lua scripts. Drop any file from scripts/ into your ~/.config/mpv/scripts/ to enable it.
ac-power.lua— polls Home Assistant for a power sensor and shows wattage in the OSD with debounce/backoff.kb-blackout.lua— dims or turns off the keyboard backlight while mpv is playing, restores it on pause/idle/unfocus.touch-gestures.lua— tablet-friendly vertical edge swipes: right edge changes system volume (PipeWire/Pulse), left edge changes screen brightness (brightnessctl), with OSD feedback and bottom exclusion to avoid the OSC.
Languages
Lua
99.8%
Just
0.2%