added adaptive quickshell
This commit is contained in:
1 parent
6eb56d2065
commit
5b33a73fd8
189 files changed
+8678
-15
No files matched your search
@@ -0,0 +1,7 @@
|
||||
# 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.
|
||||
Reference in new issue
Block a user