aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md14
1 files changed, 12 insertions, 2 deletions
diff --git a/AGENTS.md b/AGENTS.md
index 7547181..4c3ccae 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -227,10 +227,20 @@ by its UDP 6667 broadcast rather than a stored address. The effect is DP 51,
omits: it was read off the strip's status pushes while the app set scenes. LEDs
render pastel accents as white, so saturation is floored at full.
The strip also follows the session: hypr-theme's autostart runs `udt-ledstrip
-on` at login and `off` on Hyprland's `hyprland.shutdown` event, which logout
-and poweroff both raise. `off` cannot wait for a broadcast as the session
+on` at login and `off` on Hyprland's `hyprland.shutdown` event, which covers
+logout. Poweroff and reboot do not reach it in time: rc.6 stops networking
+before it signals Hyprland, so the event fires with no route to the strip.
+rofi-scripts' `udt-powermenu.sh` therefore runs `off` itself before
+`loginctl`. `off` cannot wait for a broadcast as the session
dies, so the last address is cached in `~/.cache/udt/ledstrip.json` and
discovery is only the fallback.
+Suspend does not switch it off: `udt-ledstrip sleep` breathes the accent alone,
+desaturated and at half brightness (DP 51 mode `0x03`, read off the strip the
+same way), and hypridle's `after_sleep_cmd` runs `on` to bring the flow back.
+`sleep` is sent before `loginctl suspend`, by the power menu and by
+hypridle's idle timeout, for the same reason as `off`: NetworkManager drops the
+network on the same sleep signal hypridle's `before_sleep_cmd` answers. That
+`before_sleep_cmd` sends it too, as a best effort for any other suspend path.
**Sublime's, GRUB's and the homepage's accents are replaced, not substituted
into a placeholder.** GRUB and the homepage are generated by udt-palette with