diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-02 18:36:37 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-02 18:36:37 +0200 |
| commit | f89e3b7dc5dbad2fce9a62e644c11cb963547349 (patch) | |
| tree | 7fe8f81cdc66e1a4f6c9cedf9eae5ba8c902288f /AGENTS.md | |
| parent | b29dee9a3b5f77baadb8d788f94b01d4f7535b7f (diff) | |
| download | unified-desktop-theme-f89e3b7dc5dbad2fce9a62e644c11cb963547349.tar.gz unified-desktop-theme-f89e3b7dc5dbad2fce9a62e644c11cb963547349.zip | |
feat(keyboard): light the AK820 Pro in the wallpaper accent
udt-keyboard sets an Ajazz AK820 Pro to its "launch" effect in the
current accent through ak820-ctl, and does nothing without it.
udt-accent starts it detached on every run; --watch reapplies the
accent when the USB cable is plugged in, since the keyboard takes no
commands over its dongle or Bluetooth.
The firmware ignores a mode change unless the lights go off first and
settle, so it sends off, waits three seconds, then the mode. A lock
keeps a wallpaper change and a plug-in from interleaving the pairs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -208,7 +208,12 @@ It writes seven things: `~/.cache/udt/udt-accent.rasi` (rofi), read through a root-made `theme.conf.user` symlink), and the accent substitution in Sublime's installed `Packages/User/udt.sublime-color-scheme`. It then starts `udt-homepage` and `udt-grub` detached, for the two outputs -that need a root step on another filesystem or host. +that need a root step on another filesystem or host, and `udt-keyboard`, which +lights an Ajazz AK820 Pro in the accent through `ak820-ctl` (a no-op without +it). The keyboard only listens over its USB cable, so `udt-keyboard --watch`, +started from hypr-theme's autostart, reapplies the accent on every plug-in. Its +firmware ignores a mode change unless the lights go off first and settle for a +few seconds, hence the off, sleep 3, mode sequence; one second was not enough. **Sublime's accent is replaced, not substituted into a placeholder.** Its colour scheme cannot cascade, so the accent has to live in the one generated @@ -252,7 +257,7 @@ those two and pywal's wallpaper-derived colours come back. Not everything tracks the wallpaper. rofi, quickshell, Hyprland borders, hyprlock's border (through `~/.cache/udt/hyprlock-border.conf`), Sublime's -colour scheme and Firefox do; conky, Qt, GTK, waybar, hyprlock's panel palette +colour scheme, Firefox and the AK820 Pro keyboard do; conky, Qt, GTK, waybar, 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, |
