aboutsummaryrefslogtreecommitdiffstats
path: root/static/deck.css
AgeCommit message (Collapse)AuthorFilesLines
12 daysfeat(xbox): profile background behind profile and consolesDanilo M.1-0/+8
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.1-5/+2
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.1-4/+8
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-16feat(xbox): one games list with installed badgesDanilo M.1-5/+3
2026-11-16feat(xbox): console model, region, flags and installed titlesDanilo M.1-1/+14
2026-11-16feat(xbox): the Xbox tabDanilo M.1-0/+59
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.1-3/+9
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.1-15/+48
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.1-0/+21
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-13feat(dashboard): running modules as chips that open a panelDanilo M.1-6/+28
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-13feat(tablet): clock fonts and sizes from keystone's Fonts pageDanilo M.1-4/+1
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-13feat(tablet): a font of the PC's for the dim cover's clockDanilo M.1-0/+4
[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-12fix(dashboard): stroke only the top of the chip graphsDanilo M.1-2/+5
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-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.1-0/+1
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.1-1/+6
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-11feat(tablet): dim the backlight after an idle timeoutDanilo M.1-0/+5
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.1-0/+12
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(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(tabs): slide transition, OBS logo and a 3D-printer nozzle for K1CDanilo M.1-1/+3
A tab change slides the new tab in from the side it sits on in the bar (40px and a fade over 220ms, off under prefers-reduced-motion); #tab-body no longer scrolls sideways, so the slide never flashes a scrollbar. A tab can show a brand logo from static/logos instead of a glyph: OBS uses the OBS Studio logo (simple-icons). K1C's printer glyph becomes nf-md-printer_3d_nozzle; the Creality logo exists only as a wordmark, unreadable at tab size. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11feat(dashboard): pending updates in the system row, icons, opencode logoDanilo M.1-4/+5
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>
2026-11-10feat(assistant): replies type out, state and bouncing dots in the bubbleDanilo M.1-1/+10
The live reply was rebuilt from scratch every 0.5 s poll, so text landed in chunks. It is now kept and updated in place, and its text types out between polls, catching up with what has arrived in about 0.6 s. The thinking/transcribing/tool line moves from the bottom bar into the reply bubble, and three dots bounce in turn until the first words. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10fix(dashboard): centre the action icons by their measured inkDanilo M.1-3/+3
A fixed 1em box overshot the other way. Each glyph is measured with canvas measureText once the font is loaded, and shifted by half the gap between its drawn width and its advance. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10fix(dashboard): action icons centred in their squaresDanilo M.1-1/+4
The Nerd Font glyphs draw past their advance, so centring the advance left them off to the right; each sits in a 1em box drawn from its left edge. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10fix(dashboard): chip and spending classes clear of global rulesDanilo M.1-4/+4
The global .warn (yellow text) and .row (wrap, margin) rules reached into the dashboard; its chips use .hot and the one-line spending row .inline instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(dashboard): one fixed screen for the tabletDanilo M.1-131/+116
The Dashboard tab drops the draggable card grid for a fixed layout: a top band of system, Claude and tablet chips with trend and fill backgrounds, music and spending always on, a row of one to three busy modules (printer, build VM, OBS) that scroll long lines, and the action icons in Hyprland's rotating border. The stats, tablet and llm panels and the vendored Gridstack go. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(music): a volume slider with a mute toggle, icon buttonsDanilo M.1-2/+6
The Vol-, Mute and Vol+ buttons give way to a mute toggle (its icon shows the state) and a 0-100 slider that sets the default sink with wpctl as it moves. Previous, play/pause and next are Nerd Font glyphs instead of the tablet's Unicode symbols. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(stats): an OS row with logo, kernel and uptimeDanilo M.1-0/+4
The System card's small 'up Nh' line becomes a full-width tile: the distro's Nerd Font logo, NAME and VERSION_ID from /etc/os-release in large type, the codename and kernel release below, and the uptime large on the right. An unknown distro gets Tux. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(llm): desktop-assistant usage as Local AgentDanilo M.1-0/+1
The LLM usage card gets a third section, the desktop-assistant program from llm-cost-dashboard, with the same session and total stats as opencode. The per-program aggregation now takes the program. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(assistant): tools grouped by the kind of file they takeDanilo M.1-2/+4
Each section of the tools overlay lists its presets and ops under a label per kind (PDF, Text, Code, Images, Video, Archives, Several files, Any file); an item taking several kinds shows in each group. The tile rows get their own class, so the chat rows' style no longer reaches them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(assistant): the transcript as chat bubbles with avatarsDanilo M.1-1/+21
Questions sit on the right in an accent bubble with the user's avatar (`[assistant] user_avatar`, served at /api/avatar); replies on the left in a surface bubble with the assistant's, a "…" bubble while a reply has no text yet. The assistant's avatar is the background picture itself, zoomed by CSS onto `[assistant] face` ([centre x, centre y, size] in its pixels), so nothing is cropped on the PC; the page loads the picture once for its real size. Unset, both are plain circles. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(windows): a busy desktop gets an accent dot, not a filled tileDanilo M.1-0/+6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10fix: swiping between tabs works on the tabletDanilo M.1-1/+2
#tab-body scrolls, so Chrome claimed every moving finger as a pan and sent pointercancel, and the shell dropped the swipe before pointerup: it never worked on touch. touch-action: pan-y keeps vertical scrolling the browser's and sideways moves the page's. Swipes may now also start on buttons (most of the Windows tab is cards); only sliders and the dashboard's drag and resize handles keep theirs, and a recognised swipe swallows the click it ends in. Checked with adb swipes: empty space and a window card both change tab, the card's window is not focused, and vertical scrolling still works. Also hide the OBS tab's empty blocks while OBS is off: .deck-cols set display: grid, which overrode their hidden attribute. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat: icons in the tab barDanilo M.1-0/+3
Each tab is a Nerd Font glyph (gauge, windows, camera, chat, printer), with the name only next to the active one; a tab without an icon keeps its name. Swipes find tabs by data-tab now that the text is not the name. The reload button is the refresh glyph. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(windows): preview cards and keystone's workspace iconsDanilo M.1-15/+21
Each window is a card like the Alt+Tab switcher's: a preview in the window's shape (grim -T on Hyprland's stableId, also for hidden workspaces, refreshed every 5 s), the desktop top left, close top right, the app icon bottom left, each on its own scrim, the title below. Tap focuses, a long press opens the move menu at the press point (the grid re-renders under a title that changes every second, so the card itself may already be gone), and Chrome's image menu is suppressed. Module.image serves module images at /api/<module>/image/<key>; windows answers only for a window the last state listed. Workspace tiles, card markers and the move menu use the icons from keystone's Workspaces.qml, falling back to the number; the icon route also searches the theme's places, preferences and categories folders, where two of them live. The workspaces are centred. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(assistant): a greeting while the chat is emptyDanilo M.1-0/+11
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(assistant): a faint picture behind the Assistant tabDanilo M.1-0/+16
`[assistant] background` names an image (none by default); the server serves it at /api/bg behind the token, and the tab shows its subject from the right side, desaturated and faded out on every side so no edge shows: opacity .24 while the chat is empty, .07 during a conversation. Tuned on the 1280x800 tablet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat: "The PC is asleep" overlay, and the tablet may sleep tooDanilo M.1-0/+9
A sleeping PC answers no poll, and the wake lock kept the tablet's screen on over a frozen dashboard all night. After 15 s without any answer the page shows an overlay and releases the lock; the first answer hides it and takes the lock again. Checked on the tablet by stopping the server for 21 s: no screen wake lock while stopped, Chrome's taken again 5 s after it resumed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(assistant): headed sections in the tools overlayDanilo M.1-0/+2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10fix(assistant): voice-only tab, tools in an overlay, silent clips droppedDanilo M.1-6/+10
The first voice question on the tablet was a 0.66 s silent clip: the mic gave no feedback until the next poll, an extra tap made a near-empty recording, and the model invented a question from the silence. The mic now turns red on the tap itself, and a clip whose loudest sample is under 1500 (room noise measured ~260, speech 15000+) is not sent. Typing happens on the PC, so the text field, send button and the ask action are gone; the bar is a large mic and a stop icon. The presets and ops move into an overlay opened from the header, so the transcript gets the screen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10fix(assistant): final review fixesDanilo M.1-1/+5
Hidden main no longer shows over the offline card, Enter while busy no longer stops a reply, autoscroll is tracked by a scroll listener so it works while the tab is hidden, and the catalog is retried on each daemon reconnect. Mic start is guarded against double taps and recorder failures, a denied mic can be retried, a failed ask restores the text, the model panel closes on any outside tap, and the font path is cached only once found. Plus small CSS and spec corrections. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(assistant): the Assistant tabDanilo M.1-0/+62
Chat with formatted streamed replies, voice through the tablet's mic, model choice, and the canvas's Ask presets and Do ops on a file picked on the PC with qarma. Icon controls from the Nerd Font, 48px minimum. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(tablet): battery and Wi-Fi card on the dashboardDanilo M.1-0/+2
Reads `dumpsys battery` and `cmd wifi status` (Android 11+) over adb from the device whose reverse carries the dashboard socket, so a switch between USB and Wi-Fi is followed. Reads are cached for 10s. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat(obs): pause, Studio Mode, and working transition tilesDanilo M.1-0/+4
The transition tiles listed transition kinds (fade_transition), which SetCurrentSceneTransition rejects and which never matched the current one, so every tile looked inactive. Read GetSceneTransitionList instead. Add a Pause/Resume button, shown while recording, and a Studio toggle. With Studio Mode on, a scene tap cues it in Preview (dashed tile) and the Transition button, shown only then, sends it to Program. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat: fold dashboard cards and a reload buttonDanilo M.1-0/+33
Each Dashboard card gets a fold button in its title bar. Folded, it shrinks to one grid row ending at the title bar and cannot be resized; its height is kept in localStorage (deckit.folded) and restored on unfold. The grid floats, so nothing moved into the rows a folded card gave back: cards below it in its columns are pulled up as far as the space is free, on fold and again once every card has mounted, since a card restored folded from storage never folds at runtime. Unfolding needs no mirror; the grid pushes down whatever the regrown card hits. The installed web app has no browser chrome and so no pull-to-refresh, which left no way to load new page code on the tablet. A reload button sits at the top right; JS and CSS are served no-store, so it always fetches the current code. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat: K1C printer tab and proper cards for switched-off sourcesDanilo M.1-4/+115
A K1C tab follows a Klipper printer through Moonraker ([k1c] url): state, file, progress with elapsed, left and finish time, layer, the slicer's model thumbnail, nozzle and bed with target and power, fan, speed, position, filament, and the camera snapshot. It is read-only bar one action, the emergency stop (M112), behind a press-and-hold button so a stray touch on an always-on tablet cannot kill a print. Klipper being down (after a stop) shows its message in a red banner. The printer is often off, so a failed poll backs off 10s instead of costing every tick a timeout. File metadata is fetched once per job; the slicer's estimate covers the start of a print until the file-position estimate settles. The tablet loads the camera and the thumbnail straight from the printer, so both need it on the printer's LAN. OBS, the build VM and LLM usage showed raw text when their source was off ("OBS offline: [Errno 111] ..."). They now share static/offline.js: a greyed app icon, what is off, what brings it back, and a pulsing "checking" note, with the raw error in the tooltip. OBS hides its empty blocks while off. The card is not rebuilt on every poll. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10fix: follow UDT's font size and live theme changesDanilo M.1-27/+28
UDT gives font sizes to keystone's fonts page, which writes ~/.config/keystone/fonts.json. deck-it hardcoded px sizes, so changing the size on the fonts page did nothing on the tablet. theme.css now carries --udt-font-size (override.deckit, else base, 8 to 40px, as quickshell checks) on html, and deck.css sizes text in rem, scaled from the old 14px design. The page loaded theme.css once, so a scheme, wallpaper or size change reached the tablet only after a reload. The shell now re-reads it every 5s and on visibility, swapping it into a <style> only when it changed, and sets meta theme-color from --udt-base instead of Macchiato's hardcoded base. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09chore: GPLv2-only license, docs and source headersDanilo M.1-0/+18
2026-11-09feat: window rows get app icons and a close/move menuDanilo M.1-1/+22