980 B
Brightness stage
Added backend/brightness.py, services/BrightnessController.qml and backlight sliders to BatterySettings.qml.
Requires brightnessctl and permission to change /sys/class/backlight (typically udev/logind ACL or a suitable group). No sudo or shell invocation is used. Only devices reported as backlight by brightnessctl are offered; brightness is clamped to 1–100% to avoid an accidentally black display. Backend validates device identifiers and current enumerated devices before writes. Hardware changes refresh every 10 seconds. Multiple backlights are displayed separately.
Known limitations: power settings remain hidden on desktops without a battery, so this brightness UI is not accessible there; backlight controls do not apply to external DDC/CI monitors. QML was not runtime-tested in Hyprland. Test with brightnessctl -m -l, adjust slider, verify with brightnessctl -m -l and restore original brightness. Hyprlock/hypridle unchanged.