| Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
The delay inhibitor now covers shutdown too, and dbus-monitor also
watches PrepareForShutdown. X-Deckit-Sleep carries the reason
("asleep" or "shutting down") and the page shows "The PC is <reason>",
dropping the wake lock as on suspend.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
When a window id appears that the last poll did not list, the tablet
shows the Windows tab for [windows] peek seconds (default 8, 0 off) and
then goes back to the tab it was on. A touch on the page or a tab change
meanwhile keeps it there; another new window restarts the timer.
The hook is generic: a panel's peek(state) returns seconds, app.js does
the switching. The first poll only learns what is open, and an error
state keeps what it knew, so neither triggers it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
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>
|
|
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
|
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>
|
|
deckit/sleep.py holds an elogind delay inhibitor and watches
PrepareForSleep with dbus-monitor. On a suspend the server marks its
answers with X-Deckit-Sleep for 2 s, so the tablet's next poll shows "The
PC is asleep" at once and drops its wake lock, then lets the inhibitor go.
On resume it takes the inhibitor again. The 15 s silence fallback stays,
worded "The PC is not answering", for a crash or a dropped tunnel.
The inhibitor's command is `tail --pid=<server>` and dbus-monitor has a
parent-death signal, so a killed server leaves no lock delaying every
suspend (checked with kill -9: both gone within 2 s).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
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>
|
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
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>
|
|
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>
|
|
The second display is now optional: [display] enabled = false skips the
headless output, wayvnc, AVNC and the VNC tunnel, so the tablet runs the
dashboard alone. `deck-it env` reports it as EXTEND.
Keystone's new deck-it page (quickshell, desktop/modules/deckit) edits
the config and the autostart line, which needed:
- The user config is merged over the shipped config.toml key by key
within each table instead of replacing it whole, so the page writes a
sparse file and an unset key falls back to the default.
- `deck-it defaults` prints the shipped config as JSON for the page's
placeholders, so keystone never copies the defaults.
- `deck-it status` prints one JSON line (server, display, waiting,
tablet, extend) for the page's status line and restart check.
- [launch] is now `apps`, a list of desktop ids run with gtk-launch,
with name and icon read from the .desktop file, so the page can pick
launchers from the installed apps. The old command tables are gone;
the client still sends only an id, which must be listed and installed.
A launcher whose icon the theme lacks shows its name.
- [wifi] address gives the tablet's address in config. The last address
that worked is kept in ~/.config/deck-it/last-wifi: `stop` deletes the
runtime serial file, so a restart from the page used to wait forever.
- `stop` also ends a login's `wifi --wait`, matched by its own command
line only, so repeated restarts do not pile up waiters.
Also fixed: `deck-it env` fell through into the usage text, and the
usage text printed the license header since the header was added.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
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>
|
|
|
|
|