diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-21 18:50:22 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-21 18:50:22 +0200 |
| commit | ecf59d1c7c74fe817ee4f9e392e319ad9a8b541a (patch) | |
| tree | 76e008de23c6adcb2a0a244b195a2eb06dbe8516 /bin/udt-accent | |
| parent | 3fae77d2eaad99bb39c8296e201f9845837dbe02 (diff) | |
| download | unified-desktop-theme-ecf59d1c7c74fe817ee4f9e392e319ad9a8b541a.tar.gz unified-desktop-theme-ecf59d1c7c74fe817ee4f9e392e319ad9a8b541a.zip | |
feat(accent): send the accent to the TV launcher
udt-tv sends the window border's three hues to the tv-debloat launcher
on the TV, which draws its focus highlight's edge as their gradient and
uses the accent for its pill edges and title glow. One HMAC-SHA256-signed
UDP datagram to port 47800; the address comes from ~/.config/udt/tv.json
and the secret is the one tv-debloat deploys. Without either it does
nothing. udt-accent starts it with the other helpers, install.sh links it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'bin/udt-accent')
| -rwxr-xr-x | bin/udt-accent | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/udt-accent b/bin/udt-accent index 70557d8..1388db1 100755 --- a/bin/udt-accent +++ b/bin/udt-accent @@ -626,8 +626,9 @@ def main(image): # it only rebuilds and notifies, since the copy into /boot needs root. # The keyboard takes seconds per colour change, and is often not there. # The LED strip waits up to 20 s for its address broadcast, the bulbs - # up to 5 s per bulb for the gateway. All three read files written above. - for helper in ("udt-homepage", "udt-grub", "udt-keyboard", "udt-ledstrip", "udt-bulb"): + # up to 5 s per bulb for the gateway. All of them read files written above; + # udt-tv is a single UDP datagram to the TV launcher. + for helper in ("udt-homepage", "udt-grub", "udt-keyboard", "udt-ledstrip", "udt-bulb", "udt-tv"): subprocess.Popen([Path(__file__).resolve().parent / helper], stdin=subprocess.DEVNULL, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, start_new_session=True) |
