aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules/deckit
AgeCommit message (Collapse)AuthorFilesLines
18 hoursfeat(services): one drawer page to start, stop and restart servicesDanilo M.4-70/+7
Running things is a runtime operation, so it belongs in the drawer, not the settings window. The drawer's deck-it tile and keystone's Shells page become one Services tile: every quickshell shell, deck-it, and the desktop's long-running daemons (desktop-assistant, cal-notif, tv-mpris, mail-watcher, mail-notify, hypridle, hyprsunset, the polkit agent, notifyd, playerctld, conky and cliphist's watcher), each with Start, Stop and Restart. A daemon's start command is its enabled autostart.lua line, run through hyprctl dispatch hl.dsp.exec_cmd as Autostart's Try does, so conky keeps its workspace rule and no command is copied out of autostart.lua. Services.js holds only the label, the piece of the line that finds it and the pgrep/pkill arguments. Stop waits up to 5s for the process to exit, which hyprsunset needs to free Hyprland's CTM manager. -f patterns bracket a letter so pgrep and pkill never match the sh that runs them. Checked: test_services.js; the pgrep list reports all twelve daemons running; a playerctld restart through the same command came back under a new pid. QML's JS engine has no Array.flatMap, hence the concat. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
18 hoursfeat(deckit): Start, Stop and Restart in the drawerDanilo M.5-40/+103
Running deck-it is a runtime operation, so it moves out of the settings window into a drawer tile: the deck-it page shows its status line and Start, Stop and Restart. The Server settings page keeps only the status line in its header. DeckIt.control(op) replaces restart(): the buttons stay disabled until deck-it status shows the result (running or waiting after a start, stopped after a stop) or 30s pass. A Restart waits 2s before believing the status, so the old instance's last answer does not count. The snackbar went with it: the drawer has none, and its page shows the status line instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3 daysfeat(status): a game on the Xbox turns presentation onDanilo M.2-2/+4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 daysfeat(deckit): list deck-it's VMs tab with the tabsDanilo M.1-2/+2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 daysfeat(fonts): deck-it's text, clock sizes and clock fontsDanilo M.2-8/+1
The Fonts page gets a deck-it section: deck-it's text size (the override.deckit deck-it already read, with no row until now), and the dim cover's clock time and date, following it at 8 and 1.6 times unless given their own size (up to 400px). A Families section names the clock's fonts, deckit-clock and deckit-date, saved under "family" in fonts.json; deck-it reads both itself. The name field updates the draft on every keystroke, since a click on Save takes no focus and an editingFinished would never come. The clock font fields leave the deck-it Dashboard page, which wrote [tablet] keys deck-it no longer reads. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 daysfeat(deckit): clock font settings on the Dashboard pageDanilo M.2-1/+8
deck-it's [tablet] clock_font and clock_font_date: a text field for a font family installed on the PC, used by the clock on the tablet's dim cover (empty keeps the page font), and a switch for whether the date uses it too. Both are in the page's search fields. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8 daysfeat(deckit): tablet screen dimming settingsDanilo M.3-3/+11
The Dashboard page gains a Tablet screen section for deck-it's new [tablet] dim_after and dim_brightness, and both are searchable. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8 daysfeat(deckit): new-window peek time, General page renamed ServerDanilo M.5-9/+14
The Windows page gains "Show on new window", deck-it's [windows] peek: seconds the tablet shows its Windows tab when a window opens, 0 off. The first page is now "Server": the sidebar group is already deck-it, so the page name no longer repeats it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 daysfeat(deckit): tabs and dashboard parts in separate listsDanilo M.6-10/+50
deck-it's [modules] were one list mixing tabs and dashboard parts. The General page now lists the tabs (Windows, OBS, K1C printer, Assistant) and the Dashboard page the parts, each under a readable name; Modules.js holds the split. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 daysfeat(deckit): split the settings into a deck-it group of four pagesDanilo M.11-309/+545
The single long deck-it page becomes its own sidebar group: General (status, Restart, Start, Display, Advanced), Dashboard (Modules, action icons, Hardware), Windows (launchers, workspaces) and Services (OBS, LLM, K1C, build VM). All four share DeckIt.store, so Save on any page writes the whole draft, as the Mail pages do. Each module lists its own fields, so a search jumps to the page holding the field. The small-print text moves to a shared Small.qml. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 daysfeat(deckit): toggles for the dashboard's action iconsDanilo M.1-0/+34
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
9 daysfeat(deckit): status and Restart in the page headerDanilo M.4-44/+36
Move the deck-it status line from the page body to the header, beside Save, as the Wallpaper engine page does, and send a Restart's outcome to the window's snackbar instead of a line under it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 daysdeckit: K1C Moonraker address fieldDanilo M.2-2/+4
deck-it gained a K1C printer tab, read through Moonraker at [k1c] url. The page edits that key, and its module switch appears with the others from deck-it's defaults. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 daysfeat(deckit): settings page for deck-it, the tablet dashboardDanilo M.4-0/+573
A page under Desktop for deck-it's ~/.config/deck-it/config.toml and its login line. deck-it now merges that file over its shipped config key by key, so the page writes only what differs and takes its placeholders from `deck-it defaults` rather than copying them. - Start at login edits hypr-theme's autostart.lua at once, as the Autostart page does, through Autostart.js: it re-enables a commented deck-it line or adds `deck-it wifi --wait`; off comments them out. - Every config key, with launchers picked from the installed apps (desktop ids, reorderable) and module switches built from the defaults. - A status line polls `deck-it status` every 2s while the page is open; Restart runs `deck-it stop` and the login command, then reports "Restarted" once the server runs with a tablet tunnelled, or what it saw after 30s. Shared helpers it needed: Toml.js reads plain decimals (the display scale), Store keeps a list of numbers numeric (the workspaces), and ChoiceSetting takes a store as Setting and BoolSetting already do. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>