aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules/deckit/DeckItModule.qml
AgeCommit message (Collapse)AuthorFilesLines
18 hoursfeat(services): one drawer page to start, stop and restart servicesDanilo M.1-1/+1
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.1-6/+1
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>
8 daysfeat(deckit): new-window peek time, General page renamed ServerDanilo M.1-3/+3
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.1-1/+1
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.1-12/+8
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): status and Restart in the page headerDanilo M.1-3/+24
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.1-2/+2
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.1-0/+57
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>