aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
12 daysdocs: the games module and the now playing cardDanilo M.2-0/+9
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 daysfeat(dashboard): the music card shows the game being playedDanilo M.4-15/+102
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 daysfeat(games): find the PC game and its name, cover and playtimeDanilo M.2-0/+219
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 daysfeat(games): parse Steam VDF and emulator game list cachesDanilo M.2-0/+140
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 daysdocs: plan for games on the now playing cardDanilo M.1-0/+678
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 daysdocs: spec for games on the now playing cardDanilo M.1-0/+78
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 daysfeat(xbox): profile background behind profile and consolesDanilo M.3-4/+21
Xbox's profile background is the gamerpic blurred. The tab shows it behind the profile and console cards, greyscale and multiplied over the UDT accent under a base fade, so the theme keeps every colour. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16fix(ui): serve the Propo Nerd Font so icons centreDanilo M.4-12/+13
The plain Inconsolata Nerd Font gives each icon a 500 unit advance while its ink is up to twice that wide, so every Nerd Font button sat right of centre. The Propo variant's advance is the ink, so centring works for all of them; the VM power button's padding workaround goes. The URL becomes /fonts/nerd-propo.ttf because the font is cached for a day. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16fix(ui): centre the off cards, bigger logos, VM power glyph, ApplicationsDanilo M.2-5/+9
The OBS off card sat left because .deck-transport is a flex row; it now fills the row. Off-card logos are 96px instead of 48px. The VM power glyph's ink overflows its advance in the non-Mono Nerd Font, so a right padding centres it. The Windows tab's Launches block is now Applications with its icons centred. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16fix(xbox): follow a power change quicklyDanilo M.3-3/+32
2026-11-16fix(xbox): say what to do when the console is unreachableDanilo M.2-0/+11
2026-11-16feat(xbox): one games list with installed badgesDanilo M.5-51/+92
2026-11-16feat(xbox): console model, region, flags and installed titlesDanilo M.5-7/+83
2026-11-16fix(xbox): name the client, so xccs answersDanilo M.1-1/+1
2026-11-16fix(xbox): a refused console list no longer blanks the tab; tab iconDanilo M.4-2/+21
xccs answers 403 from its gateway while every other Xbox Live endpoint answers, and that one failure marked the whole tab offline. The console list now fails on its own, the tab says console control is unavailable, and the rest reads. The Xbox tab gets the Xbox glyph like the others. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16fix(xbox): a redrawn hold never fires, and start clears the flagDanilo M.4-7/+15
A power button rebuilt mid-hold lost its pointerup, so letting go early still turned the console off; hold.js now drops a hold whose button is no longer in the page. status.xbox is written 0 on start, in case a crash left it at 1. The "ago" texts move on each minute, and missing storage names and achievement percentages no longer print null. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16fix(xbox): keep the reader alive and the flags rightDanilo M.2-45/+130
- run() survives any exception from tick(); _http turns http.client.HTTPException into OSError. - Signing out or in again resets the slow-read clock, so the profile is read at once instead of after 10 minutes. - After stop() nothing sets status.xbox back to 1; its compare and write is under a lock. - api() uses a copy of the auth taken under the lock; command() maps a missing auth to "not signed in". - Action and sign-in errors carry Xbox Live's own message when the HTTP error body has one. - type_of caches only a 404; other errors retry on the next tick. - Sign-in: start_login is locked, a poller only ends its own flow, and a failed token save ends it as "failed". - state() is loading only until the first presence read. - Drop a stale placeholder comment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16docs: the Xbox tabDanilo M.2-2/+31
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16feat(xbox): the Xbox tabDanilo M.2-1/+307
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16feat(xbox): switch to the Xbox tab once per game sessionDanilo M.3-0/+59
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16feat(xbox): Xbox Live reads, presentation flag and console commandsDanilo M.3-1/+245
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16feat(xbox): device code sign-in from the tabDanilo M.2-0/+104
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16feat(xbox): Xbox Live auth chain and token fileDanilo M.2-0/+221
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16feat(xbox): shape Xbox Live responses for the tabDanilo M.2-0/+218
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16docs(plan): Xbox tabDanilo M.1-0/+1569
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16docs(spec): Xbox tabDanilo M.1-0/+123
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13feat(vm): one column, a running VM as tall as the tabDanilo M.3-7/+18
A single running VM is the whole tab, without the card look; with more they stack as tab-tall cards and the tab scrolls. Shut-off VMs are short cards below, without screen or trends. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13feat(vm): tablet tiles with screen, trends and a power buttonDanilo M.10-152/+492
Each VM is a tile: its screen from virsh screenshot (JPEG through ffmpeg, every 5s while the tab shows), booting until sshd answers at the ssh -G host and port, CPU and RAM trends, and a big power button, tap for the gentle action and hold to force off. A tap on the tile opens a sheet with every action as an icon and the snapshots as a timeline with their age. hold.js is now the one press and hold, K1C's stop included, and vibrates the tablet when it fires; the Windows long-press buzzes too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13feat(vm): a VMs tab for libvirt power, snapshots and sshDanilo M.8-3/+512
virsh domstats each poll for state, CPU and memory; managed save, snapshots and the guest agent's IP in a thread every 10s. Actions are the drawer's power set plus snapshot take/revert/delete, names checked against the last state. SSH opens a tab in a running kitty over its remote-control socket and focuses it, else spawns kitty. Destructive buttons are press and hold. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13docs(spec): VMs tabDanilo M.1-0/+50
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13feat(dashboard): running modules as chips that open a panelDanilo M.5-31/+149
The running row of 118px cards took height from music and spending and cut its lines into marquees. It is now a row of chips (icon, value, progress fill) copied from each module's slot; a tap opens the full slot in a centred <dialog closedby="any">, which a tap outside closes without reaching what is under it, and a tap inside opens the tab. A module may export detail(state, el) for the panel. The build VM's shows the job command, start and elapsed time, CPU, memory and disk as meters, and the plan package by package: its result once finished (progress.results, sbb-remote 0.13.1), building, or waiting. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13fix(dim): close an open panel before a cover showsDanilo M.1-1/+5
A modal dialog is drawn in the top layer, over any z-index, so the dim clock and the asleep cover appeared under an open running-chip panel. Both covers now close every open dialog first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13feat(tablet): clock fonts and sizes from keystone's Fonts pageDanilo M.9-35/+97
The dim cover's time and date fonts move out of [tablet] clock_font and clock_font_date into keystone's fonts.json: "family" deckit-clock and deckit-date, each served at /fonts/<key>, and the "override" sizes deckit:clock and deckit:date (else deck.css's 8rem and 1.6rem). The date can now have a font of its own. theme.css carries the rules, so a save on the Fonts page reaches an open tablet page within 5s, with no restart and no flags in the tablet state. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13fix(windows): no peek for a dialogDanilo M.5-5/+26
A transient dialog brought the Windows tab forward like any new window. Hyprland's clients JSON has no parent field, so a window counts as a dialog when it floats and its pid already has another window; peek() skips those. They are still listed in the grid. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13feat(tablet): a font of the PC's for the dim cover's clockDanilo M.7-3/+53
[tablet] clock_font names a font family installed on the PC; the server finds its file with fc-match and serves it at /fonts/clock, and the cover's clock uses it, the date too while clock_font_date is on (default). fc-match falls back to any font, so the route answers only when the returned family is the one named; otherwise the page font stays. The font file never enters the repo, so a personal-use font can be used on one's own tablet without redistributing it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13feat(music): covers for embedded art and videosDanilo M.3-3/+76
Haruna sends an embedded audio cover inline as a data:image URL, which the module dropped, and clears mpris:artUrl for every video on purpose so the task manager shows the live window. Serve both at /api/music/image/<key>: the data URL decoded, a local video as one ffmpeg frame (thumbnail filter, 480 px wide), made on first request and kept until the track changes. Only the current track's key answers, so the tablet names a key, never a path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13fix(music): accept a fractional track lengthDanilo M.2-1/+12
Haruna reports mpris:length as a float (65816666.666666664), so int() raised and the whole state failed: the widget said nothing was playing while a video played. Parse length and position as floats. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13fix(music): drop the last cover when nothing is playingDanilo M.1-0/+8
update() swapped in an <img> when the state had art but never swapped it back, so with no player left the widget kept the last track's cover. Put the placeholder back when the state has no art. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12fix(dashboard): stroke only the top of the chip graphsDanilo M.3-16/+36
The CPU, GPU and network graphs stroked their closed area path, so the outline also ran along the bottom edge and up the left side while the history filled. Each series is now a filled area and an open line through the samples, and only the line is stroked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12feat(stats): show GPU usage on the dashboard chipDanilo M.3-23/+65
xe reports no busy percentage, but its DRM fdinfo carries per-engine cycle counters. The 2s fdinfo pass that sums VRAM now also sums drm-cycles-rcs/ccs per client, and gpu.util is the busier of render (games) and compute (local LLMs) between two passes; a sum could pass 100% with both running. The GPU chip now matches the CPU chip: usage on a trend, temperature on the small line. VRAM and fan move to keystone's performance page. Without usage the temperature keeps the big value. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12fix(dashboard): scroll the spending card beside the running rowDanilo M.1-0/+3
With the running row shown, the spending card is too short for both programs and the second one was clipped. It now scrolls while the row is present. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12feat(dashboard): show build progress in the build VM slotDanilo M.4-7/+29
The build VM slot showed a busy bar and the job kind. It now reads `sbb-remote jobs --active` (sb-builder 0.13.0), whose running build carries progress: the package being built on the first line, done of total (dependencies included, from the preview's plan) on the right, the op, the package's ETA, the estimated end and failures on the second line, and a bar that fills as packages finish. Other jobs keep the busy bar. Polling only active jobs also stops pulling the whole job history over ssh every 10s. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12feat(dashboard): show a clock and date on the dim coverDanilo M.3-3/+16
The cover that hides the dashboard while the tablet is dimmed was only a dark area; it now shows the time and date in the tablet's locale, so the dim tablet stays useful at a glance. The cover is darker (85%) so the clock stands out from the dashboard behind it, and it ticks only while shown. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12fix(tablet): restore the backlight after a restart or shutdownDanilo M.4-8/+27
The server never ran the modules' stop: `deck-it stop` ends it with SIGTERM and nothing called stop_all, so a shutdown left the tablet dim. A SIGTERM handler now runs stop_all before exiting. The settings from before a dim lived only in memory, so a new server's undim had nothing to put back. They are now kept in ~/.cache/deck-it/dim, and a freshly loaded page asks for undim, since it is never dimmed itself. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11feat(tablet): dim the backlight after an idle timeoutDanilo M.7-3/+98
After [tablet] dim_after seconds with no touch the page covers itself and the tablet module's dim action lowers the backlight to dim_brightness over adb, with auto brightness off meanwhile; an LCD's backlight is the drain, so a dark page alone saves little. The touch on the cover only calls undim, which restores both settings, as does the module's stop. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11feat(dashboard): rain into the battery chip while chargingDanilo M.2-0/+13
Streaks fall right to left across the empty part of the battery bar into the fill's edge while the tablet reports charging; still under prefers-reduced-motion. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11fix(dashboard): pin the dashboard column to the viewport widthDanilo M.1-1/+1
The .dash grid had no column template, so its one implicit auto column took the min-content width of everything inside it. A long nowrap music title (or any nowrap text) widened the whole dashboard past the viewport, pushing the spending card and chips off screen. minmax(0, 1fr) caps the column at the page width so the title ellipsizes instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11fix(windows): skip special-workspace windows that have no idDanilo M.2-1/+16
Hyprland lists a window on a special workspace (e.g. special:dash) with no workspace "id". _state indexed it directly, so one such window raised KeyError on every poll and the Windows tab froze on its last list, with stale previews and a stale active highlight. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11fix(dashboard): keep chip columns from growing with their textDanilo M.1-2/+2
A plain 1fr track has a min-content floor, so the nowrap CPU and GPU names and the network rates widened their columns past the viewport. minmax(0, ...) pins each chip to its share; network keeps a bit more. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11feat(sleep): run deck-it stop on a confirmed shutdownDanilo M.3-5/+26
After the tablet has been told, a PrepareForShutdown runs `deck-it stop` in its own session (it kills the server) so the tunnels, wayvnc and the headless output go cleanly before the inhibitor lets the shutdown on. Login brings everything back on the next boot. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>