feat(shoukei): enable wluma ambient-light auto brightness

- read Asahi aop-sensors ALS via iio and drive eDP-1 backlight
- drop PrivateUsers for wluma so it can reach the real user D-Bus session
- remove hypridle 10min screen-dim listener: its brightnessctl writes fight
  wluma and get learned as manual adjustments
This commit is contained in:
Ryan Yin
2026-08-31 15:33:15 +08:00
parent d0cd00069d
commit 6538c50662
3 changed files with 52 additions and 6 deletions
+5 -5
View File
@@ -13,11 +13,11 @@ listener {
on-resume = brightnessctl --restore --device=kbd_backlight # turn on keyboard backlight.
}
listener {
timeout = 600 # 10min.
on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor.
on-resume = brightnessctl -r # monitor backlight restore.
}
# NOTE: intentionally no 10min screen-dim listener here. Writing brightnessctl
# directly fights the ambient-light auto-brightness daemon (wluma on shoukei):
# wluma is adaptive, and hypridle's periodic brightness writes get learned as if
# the user had made those adjustments. niri (26.04) has no built-in idle timers,
# so hypridle stays responsible for keyboard backlight, dpms and locking below.
listener {
timeout = 1200 # 20 minutes