docs: add brief descriptions for scripts

This commit is contained in:
2025-12-05 01:11:02 +01:00
parent 6f716fe47c
commit 4e90c445f7

7
README.md Normal file
View File

@@ -0,0 +1,7 @@
# 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.