diff options
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 27 |
1 files changed, 8 insertions, 19 deletions
@@ -62,7 +62,7 @@ a consumer is adding a function and nothing else. Palette generation and then `udt-accent --no-helpers` always run first: udt-palette resets conky's, GRUB's and the homepage's accent lines to the scheme's, and the hardware consumers send what udt-accent writes. `--no-helpers` stops it starting homepage, GRUB, -keyboard, strip, bulbs and TV detached, since each of those is a consumer of +keyboard, strip and TV detached, since each of those is a consumer of its own here, run in the foreground; so re-applying conky leaves the LED strip alone. A wallpaper change, through wallp, still starts them all. Sublime's `@ACCENT@` is filled by `c_sublime` from `udt-accent.rasi`. A consumer reloads @@ -80,11 +80,14 @@ state, so switching does not dirty the working tree and two machines sharing this repo can differ. It is the one exception to this repo holding the canonical copy of everything. -Ten schemes ship: `macchiato`, `frappe`, `mocha`, `tokyo-night`, `nord`, `dracula`, -`material-ocean`, `material-palenight`, `material-darker`, `candy-night`. Switching is +Twenty-three schemes ship: `macchiato`, `frappe`, `mocha`, `tokyo-night`, `nord`, `dracula`, +`material-ocean`, `material-palenight`, `material-darker`, `candy-night`, +`everforest-dark`, `ayu-dark`, `ayu-mirage`, `rose-pine`, `rose-pine-moon`, `ubuntu`, `github-dark`, `kanagawa-wave`, `kanagawa-dragon`, `one-dark-pro`, `nightfox`, `oxocarbon`, `oxocarbon-dark`. +Schemes that publish only a terminal palette (Ayu, Ubuntu) get their UI +surfaces interpolated between background and foreground, marked as such. Switching is one line in `~/.config/udt/roles.conf` plus `./install.sh`. -All ten are dark. A light scheme is not a role remap: homepage is pinned +All are dark. A light scheme is not a role remap: homepage is pinned `theme: dark` and its generated card overrides target the dark-mode class, and `install.sh` would need to flip that setting too. @@ -277,20 +280,6 @@ 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. -`udt-bulb` does the same for IKEA TRADFRI colour bulbs, called beside every -`udt-ledstrip`, except that suspend switches the bulbs off: the breathing -strip alone says the desktop is asleep. A bulb shows one colour, so it gets -the accent alone. The bulbs are Zigbee, reached through the -TRADFRI gateway's local CoAP API over DTLS-PSK, which Python cannot speak, so -it calls libcoap's `coap-client` (SBo `libcoap`). `udt-bulb --pair HOST CODE` -trades the code on the gateway's label for an identity of its own and writes -`~/.config/udt/tradfri.json` with every colour bulb listed; trimming that list -by hand picks which bulbs follow. Two gateway quirks shape the requests, -both found on the real bulb: any colour change switches a bulb on, so a bare -run reads the state first and skips an off bulb; and a request setting colour -and brightness together, or a colour sent while a brightness fade runs, is -partly dropped, so colour goes first and brightness after, separately. - `udt-tv` sends the same three hues to the TV launcher of the sibling tv-debloat repo, 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 @@ -363,7 +352,7 @@ profile, and the new tab stays blank. Not everything tracks the wallpaper. rofi, quickshell, Hyprland borders, hyprlock's border (through `~/.cache/udt/hyprlock-border.conf`), Sublime's -colour scheme, Firefox, GRUB, the homepage, conky's headings and icons, the AK820 Pro keyboard, the LED strip and the TRADFRI bulbs do; the rest of conky, Qt, GTK, hyprlock's panel palette +colour scheme, Firefox, GRUB, the homepage, conky's headings and icons, the AK820 Pro keyboard and the LED strip do; the rest of conky, Qt, GTK, hyprlock's panel palette (from `templates/hyprlock/hyprlock-palette.conf`) and Sublime's UI chrome sit on the scheme's accent, lavender by default, which is also the fallback when a wallpaper is too grey to snap. Qt and GTK apps only reread a theme on restart, |
