aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-11 09:53:37 +0100
committerDanilo M. <danix@danix.xyz>2026-11-11 09:53:37 +0100
commit978ec811803cdbeb10dc2e6924ab33aa2b84bec6 (patch)
treea9c217da32594492f43be941fca139d7950d7cbd /AGENTS.md
parent085eaa7d3876fa0c9f5d5390bfe2395b85e46b62 (diff)
downloaddeck-it-978ec811803cdbeb10dc2e6924ab33aa2b84bec6.tar.gz
deck-it-978ec811803cdbeb10dc2e6924ab33aa2b84bec6.zip
feat(dashboard): pending updates in the system row, icons, opencode logo
The system row now ends with "N updates available", keystone's "to install" count from updatesctl ([dashboard] updates; empty hides it). stats re-reads it in a thread every 5 minutes, so the NFS reads behind it never stall the 1 s poll. The codename reads "-current" next to the OS name, so it no longer looks like part of the kernel. Kernel and uptime get tux and clock icons, the row is tighter, and its separators are a "|" in the first Hyprland border colour instead of an unreadable dot. The opencode spending card shows the opencode logo by its title. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md
index 498d1ce..7db00b7 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -29,6 +29,9 @@ Keep the server dependency-free apart from that one package.
slot builds its markup once and then only sets text, so its scrolling lines
are not restarted. Hyprland's border colours (`--udt-border-1..3`) colour
the trend lines and progress bars and rotate around the action icons.
+- `stats` also carries `updates`, keystone's "to install" count from
+ `updatesctl` (`[dashboard] updates`, empty hides it), re-read in a thread
+ every 5 min so its NFS reads never stall the 1s poll.
- `actions` serves the Dashboard's icons: `[dashboard] actions`, ids from
`config.ACTION_IDS`, each a fixed command (`screenshot` runs
`qar-scrotmenu.sh`, `lock` runs `lock.sh`). Its watcher checks `pidof