Commit Graph

23 Commits

Author SHA1 Message Date
613d28db90 docs: expand README with detailed script documentation
- Add installation section with copy commands
- Document each script with features, requirements, config examples
- Add practical configuration examples for common use cases
- Update CLAUDE.md with shared library documentation
2025-12-18 17:20:17 +01:00
b890a4efcd feat: add power gauge/delta/minmax to ac-power and extract shared utils
ac-power enhancements:
- Add visual block gauge [████░░░░] colored by power level
- Show delta indicator (+50W) colored by trend (green=dropping, red=rising)
- Track min/max values with persistence to ~/.cache/mpv/
- Multi-process safe file writes (merges values on save)
- New script-message: ac-power-reset-minmax

Shared library (scripts/lib/utils.lua):
- Extract common helpers: trim, clamp, rgb_to_bgr, colorize
- Update all scripts to use shared module via package.path
2025-12-18 17:14:36 +01:00
f4064e013c fix: improve playback-health and touch-gestures tuning
- playback-health: skip bandwidth warning when buffer is healthy
  (configurable via bandwidth_buffer_mult, default 10× warning threshold)
- touch-gestures: use finer steps at low volume/brightness (<10%)
  (configurable via volume_step_fine, brightness_step_fine, fine_threshold)
2025-12-14 12:28:57 +01:00
256cfc5f82 fix: skip cache warning near end of video
Low cache is expected when the video is about to end, not a sign of
buffering issues.
2025-12-07 11:44:58 +01:00
b25c868422 fix: support native touch input on Wayland
mpv 0.40 on Wayland doesn't update mouse-pos during touch drags.
Add touch-pos property observer for reliable gesture tracking and
document the --native-touch=yes requirement.
2025-12-07 03:17:47 +01:00
a4161daf47 feat: add playback-health script for buffering/drop warnings 2025-12-06 20:09:32 +01:00
b5ca9ef58e chore: add CLAUDE.md project instructions 2025-12-06 19:59:38 +01:00
749bed7dfb refactor: improve robustness and consistency across all scripts
- 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
2025-12-06 19:58:30 +01:00
4e90c445f7 docs: add brief descriptions for scripts 2025-12-05 01:11:02 +01:00
6f716fe47c fix: ignore bottom edge so gestures avoid osc 2025-12-05 01:06:57 +01:00
73cfcf93c8 fix: probe wpctl/pactl without noisy errors 2025-12-05 00:58:36 +01:00
8f33a65c74 feat: add touch swipe system brightness and volume controls 2025-12-05 00:57:30 +01:00
6d3e81307c fix: let thresholds suppress force refresh 2025-11-09 02:56:12 +01:00
155030054a feat: add percent-based delta option 2025-11-09 02:47:19 +01:00
f04c42fa6e Revert "feat: relight keyboard on activity"
This reverts commit 8b0ef84f38.
2025-11-09 01:03:09 +01:00
8b0ef84f38 feat: relight keyboard on activity 2025-11-08 23:50:17 +01:00
78e2fcddc2 feat: restore keyboard backlight on focus loss 2025-11-08 23:03:15 +01:00
c0465c7f26 chore: enforce config placement 2025-11-08 22:46:42 +01:00
b3716b7de0 docs(kb-blackout): clarify header 2025-11-08 22:43:39 +01:00
f2ff769753 docs: require conventional commits 2025-11-08 22:39:00 +01:00
3f53172033 chore: add MIT license 2025-11-08 22:38:43 +01:00
3ebc29c5c9 feat: add mpv scripts 2025-11-08 22:35:05 +01:00
6b38697d7f chore: add repo tooling 2025-11-08 22:34:59 +01:00