aboutsummaryrefslogtreecommitdiffstats
path: root/desktop
AgeCommit message (Collapse)AuthorFilesLines
2 dayssbbuilder: Desktop and Build VM settings pagesDanilo M.3-0/+326
Under SB Builder in the settings window. The desktop page edits sb-builder's config.toml in place; VM control is a switch because an emptied field means the default domain, not "". The VM page is read-only until the helper answers config-get. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 dayssbbuilder: the two config draftsDanilo M.2-0/+229
The desktop config is a watched local file; the VM one goes through the helper's config-get and config-set over ssh, so the helper validates what lands in root's file. Field text is typed after the key's default, the same check sb-builder makes on load. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2 daysqtmaildir: Setting and BoolSetting take the draft as a storeDanilo M.2-9/+13
The sb-builder pages need the same fields over another file. The store defaults to Qtm, so the Mail pages are unchanged. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2 dayssbbuilder: a line editor for sb-builder's TOML configsDanilo M.2-0/+247
Same shape as qtmaildir's Ini.js, so a file the user annotated keeps its comments: unset comments a key out, set reactivates it. A value spanning lines throws instead of gaining a duplicate key, which TOML rejects. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
4 daysassistant: count seconds on the running tool chipDanilo M.1-4/+14
A lit chip alone looks frozen on a clone that takes a minute; the running tool now shows the elapsed seconds and resets when it finishes.
4 daysassistant: grey out the mic when the model cannot hearDanilo M.5-11/+28
AssistantModule keeps each router model's input_modalities and exposes hears: the model loading, else the first not unloaded (the daemon's rule), reports audio. Unknown inputs or a router that is down count as yes; the daemon's error covers the rest. The model list is now read on every canvas open, not only when a preferred model is set, so hears is current when the card shows. Checked: the rule against the router's live /models (Gemma resident: on; Qwen resident or loading: off; router down: on). Not yet seen by eye after a desktop shell reload. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 daysassistant: a mic button asks by voiceDanilo M.3-6/+93
Each recording is a pw-record Process of its own, made from a Component like the Do row's runs, so a stopped recording's late exit cannot be read as the next one's. Stopping sets running to false (SIGTERM), which lets pw-record write the WAV header; the audio ask goes out from the process's exit, not from the click. Recording stops itself at 59 s: the daemon refuses over 60 s by file size, and the stop lands a little after the tick. Escape cancels a recording before it does anything else, and closing the card or losing the daemon cancels it too. A pw-record that ends on its own says "recording failed". Checked: a scratch harness saw transcribing, thinking, idle for a 2 s recording; by hand, every case in the spec passed with no pw-record left behind, a desktop shell reload mid-recording included. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 daysnotifications: quiet mode silences notification sounds tooDanilo M.1-1/+1
Quiet muted only the Claude and opencode hooks, which play their own sounds and check the flag themselves. With notification sounds it now means no sound at all while the balloons still show, so the balloon player reads status.quiet the way Notify reads status.dnd, without instantiating Status. A per-app quiet list was left out: the mute list already covers an app that should make no sound. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 daysnotifications: write gsettings only when the theme changedDanilo M.1-7/+10
From the final review. Every save ran gsettings set, so saving a timeout on a first run, with no soundTheme in the file, silently reset a system theme set elsewhere to freedesktop; the page now writes it only when the draft's theme differs from the file's, and flags any other mismatch as before. An exit code outside 0-3, a save killed mid-run, now reads as an error rather than a partial success. The player's comment no longer claims the balloon's expiry check, which it does not need. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 daysdesktop: report save results in the SaveBar, not at the page's footDanilo M.16-58/+58
A save's outcome sat at the bottom of the page, out of sight on a long one, while "unsaved changes" was already in the header. SaveBar gains notice, shown once the page is clean, and error, shown in red over the unsaved mark, since a refused or failed write leaves the draft dirty. Wired for notifications, HyprIdle, Sunset, Wallpaper and the four Mail pages, with their longer messages shortened to fit the header. Messages that are not save results stay in their pages: the icon theme's immediate apply, Sunset's location detection, the assistant restart. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 daysdocs: notification soundsDanilo M.1-0/+7
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 daysdesktop: notification sounds on the settings pageDanilo M.2-7/+129
A sound per urgency chosen with the widget file dialog, previewed with pw-play, and the sound theme for apps' sound-name hints. Save writes the theme to gsettings as well, and the page reads gsettings back on every open so a change made elsewhere is shown, with a button to adopt it, rather than overwritten. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 daysdesktop: tell muted apps from suggestions, explain the limitsDanilo M.1-4/+27
Muted and suggested apps were the same chip in two unlabelled rows. Each row now has a caption; muted chips are red, suggestions dimmed and cut to the eight most recent, newest first. The suggestions were already bounded by the live and history caps. Limits gains a line saying what the two numbers do, like the one under Timeouts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 daysdesktop: notification page follows the file, saves once, keeps nested keysDanilo M.1-8/+19
From the final review. An edit broke the draft's binding to Notify.config and Discard assigned a plain value, so a later change to the file read as unsaved edits; discard and refresh now restore the binding. Save stays disabled while the write runs, since a second click killed the first mid-write. Unknown keys inside timeouts and balloons are merged rather than replaced, as the spec asks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 daysdesktop: Tab moves between the hand-rolled text fieldsDanilo M.14-0/+23
A bare TextInput defaults activeFocusOnTab to false, unlike the Controls TextField some pages use, so Tab skipped every field built from one: the settings search, Field, the qtmaildir, git, autostart, assistant, OBS, user, VM and network rows, and the calendar editor. Multi-line TextEdits stay out of the chain. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 daysdesktop: rebind the notification page's fields after an editDanilo M.1-2/+12
Typing replaces a Field's value binding, so Discard left the typed text showing over the reverted draft, and a rejected timeout kept displaying. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 daysdocs: the notification settings page and config.jsonDanilo M.1-0/+18
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 daysdesktop: notifications settings pageDanilo M.3-0/+251
Edits notifyd's config.json as a draft behind the SaveBar and runs notifyctl reload after the write; a stopped daemon is reported as saved but not applied, since it reads the file at its next start. Muting offers the apps already seen in the queue and history. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 daysnotifications: resolve notifyd's config.json in a shared libraryDanilo M.1-0/+1
One resolver for both shells and the settings page, with the defaults that reproduce today's behaviour, and the mute/DND decision beside it so the node check covers it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5 dayswallpaper: row-per-notch wheel and a sticky folder headerDanilo M.1-30/+86
The thumbnail list scrolled a fraction of a thumbnail per wheel notch, which is ListView's default step and slow with rows this tall. A MouseArea over the list (acceptedButtons: Qt.NoButton, so clicks and hovers still reach the thumbnails) now moves one row per notch, and keeps a touchpad's pixel delta as it is. An open folder with many images scrolled its header out of view, so folding it meant scrolling back to the top. A copy of the header is now pinned over the list while the topmost row belongs to a folder whose own header has scrolled off; clicking it folds that folder and positions the view at its header. The header row became an inline component so the list and the pinned copy draw the same thing. Loads clean; not yet confirmed by eye. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5 dayssettings: titlebar row with maximize and closeDanilo M.1-1/+49
Hyprland draws no decorations, so the settings window had no way to fill the monitor and no visible close (only Ctrl+Q and Escape). It now carries a titlebar row of its own: "Keystone Settings" centred, and maximize and close at the right. Maximize toggles FloatingWindow.maximized, which Hyprland honours and undoes. A corner button floating over the page was tried first and covered the pages' Save buttons; a row of its own keeps clear of every page header without each page knowing about it. The buttons are Rectangles rather than the directory's Button.qml, because this file imports QtQuick.Controls and that import shadows it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5 daysisland: headphones panel for Sony noise controlDanilo M.6-8/+804
A headphones icon in the status pill, shown while Sony headphones are connected, opens a panel in the capsule: battery, noise control tiles (ANC, ambient, off), ambient level, focus on voice, the headphones' own sink volume, power off and refresh. Battery and volume need nothing new: BlueZ's Battery1 already reports the charge, and volume is AVRCP through PipeWire, so the slider drives the headphones' bluez_output node rather than the default sink. Only the mode needs Sony's own protocol, which sonyctl speaks over RFCOMM with the Python standard library. The headphones advertise the v2 MDR service on channel 18 and answer an 8-byte init reply, which is the v2 shape. What was measured on a WH-CH720N, and differs from what reading Gadgetbridge alone suggested: the ambient subtype is 17, while 15 (what Gadgetbridge sends to models without wind-noise reduction) is acked and never answered; the set payload is 7 bytes, with no wind byte. Noise cancelling has no strength, only on or off; a level sent with it is ignored and the previous ambient level kept. Focus on voice reads back as set. A connect right after the previous run closed fails with EBUSY, so sonyctl retries it briefly. Each call is about 2s, so the panel runs one at a time and sends the ambient level only once the slider or wheel settles. The mode is re-read on every open because the headphones' own button changes it too. Power off was not exercised, to keep the headphones on during development. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5 daysmail: open accounts and messages in qtmaildir from the drawer and notificationsDanilo M.7-55/+153
qtmaildir now takes --account, --thread and --message, and hands them to a running window over its socket, so the drawer and the notifications can open the exact thing they show instead of just launching the client. mail-open.sh is the one place that turns an account and a thread into selectors, shared by both callers. It looks up the thread's newest unread message at click time rather than when the row or notification was built: by then it may have been read, and an empty lookup falls back to the whole thread instead of a miss in qtmaildir's status bar. The notification never had a working click: dunstify is not installed, so mail-notify.sh always took its notify-send fallback, which carried no action. It now uses notify-send -A NAME=Text, one action per listed thread (keyed by thread id, which is hex and so never holds the "=" separator) plus the account as default. The round trip through notifyd was checked: notifyctl action makes notify-send print the picked name. On the page, the account header opens the account and a thread row its newest unread message. Rows use TapHandler and HoverHandler because a MouseArea cannot fill a Column. Launches are detached: a first launch is the client itself, and the old reused Process would have killed it on the next click. Opening anything now closes the drawer rather than going back. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5 daysperf: open btop in kitty from the page headerDanilo M.1-0/+10
The page shows a summary; btop is the full picture when the summary is not enough. The button sits in the header's actions slot, so it stays put while the panel scrolls, and closes the drawer on launch since the terminal takes over from there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5 daysName the project Keystone, and move its paths and namespacesDanilo M.20-27/+27
The repository had no name of its own, only the framework's. It is now Keystone, in the README, AGENTS.md, the settings window, notes commit messages, calctl's PRODID and the user page's User-Agent. Its files move off quickshell's name too: ~/.config/quickshell/greetings -> ~/.config/keystone/ ~/.config/quickshell/obs-scene-icons.json -> ~/.config/keystone/ $XDG_STATE_HOME/quickshell/desktop.json -> $XDG_STATE_HOME/keystone/ ~/.config/quickshell is Quickshell's own default config directory (a bare qs loads its shell.qml), so sharing it was a collision rather than a home. There is no fallback to the old paths: the files are moved once. The layer namespaces become keystone-*, and the Hyprland blur rules in hypr-theme are renamed to match in the same change. A running shell keeps its old namespaces until restarted. Left alone: the retired standalone mail and vm shells' namespaces, which their READMEs keep as history; Quickshell's own app id, binary and process name; and the repository directory. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5 dayssettings: system card on the landing pageDanilo M.2-36/+230
The landing page was a paragraph of About text. It now carries the project's name, Keystone, a short About, and a system card: the Slackware facts of conky-theme-udt's card (version, package count, kernel, install age, and the slackpkg ChangeLog age, green under a day, yellow under a week, red past it), the machine, and base library and development tool versions, in two columns. The page scrolls once it outgrows the window. Everything comes from one sh process per open of the window, so there is no cache file and no dependency on conky's sampler. Library and tool versions are read from the installed package names in /var/log/packages: the version must start with a digit, so gcc does not also match gcc-g++, and stops at an underscore, which drops qt6's snapshot suffix. A package that is not installed shows a dash. The shortcut walkthrough left the About text: the drawer, island and assistant are described in their own READMEs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 daysisland: open the window source's properties from the pillDanilo M.3-6/+30
A Wayland window capture is chosen in the portal picker, which only OBS's source dialog can open. In a scene whose only source is a PipeWire capture, the panel gets a Window button that opens that dialog. A window scene with more than one source needs a per-scene designation the pill does not have yet.
6 daysisland: let record events own the OBS stateDanilo M.1-4/+13
6 daysisland: keep a paused OBS take as recordingDanilo M.1-2/+6
6 dayssettings: OBS scenes icon pageDanilo M.5-2/+264
6 daysisland: icon buttons, audio and corner controls, scene gridDanilo M.3-36/+92
6 daysisland: OBS desktop audio and webcam corner controlDanilo M.1-1/+41
6 daysisland: corner position helper for the OBS webcamDanilo M.2-1/+15
6 daysisland: watched scene icon map singletonDanilo M.1-0/+46
6 daysisland: scene icon map logic and its testsDanilo M.2-0/+139
6 daysdocs: the OBS pillDanilo M.1-0/+19
6 daysisland: place the OBS pill and pulse the sliver while recordingDanilo M.1-2/+43
6 daysisland: OBS pill and its controls panelDanilo M.1-0/+125
6 daysisland: Obs singleton, obs-websocket v5 clientDanilo M.1-0/+217
6 daysisland: obs-websocket auth helperDanilo M.1-0/+22
6 daysisland: elapsed-time helper for the OBS pillDanilo M.2-1/+17
6 daysvm: the tile is labelled VMsDanilo M.1-1/+1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 daysperf: sample everything always, not only while the page is openDanilo M.3-42/+19
Per-core load, the network rate, VRAM and the fan used to run only while a PerfPanel existed, and closing the page cleared them. Opening the drawer therefore always showed a fresh first sample and an empty network graph, which made the page not very useful as a glance at what just happened. Everything now samples for the whole session, so the graph opens on the last minute of history. The cost is the VRAM fdinfo scan, ~14ms every 2s, now unconditional; a ponytail note beside it says to gate it on the panel again if that shows up. The LAN address and the public IP check run once at startup instead of on each page open. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 dayssettings: every page commits from the headerDanilo M.16-66/+96
The Mail, Assistant and Ask presets pages got a Save and Discard pair in the page header; the rest still had their own buttons wherever their page put them: User's Save at the bottom, Wallpaper's Apply and Reset beside the mock screens, Icons' Apply and Reset under the cursor cards, HyprSunset's and HyprIdle's Save + Restart in the page. They now all sit in the header SaveBar, which takes the page's own verbs (Apply and Reset, Save + Restart) and a busy state. HyprSunset and HyprIdle had no notion of an unsaved change, so their button was always live. They now count as changed when what save() would write differs from what was read, which enables Save only then, gives Discard (a reload) something to drop, and marks them in the sidebar; a window open no longer reloads them over unsaved edits. The staged cursor moved from IconsTab into the Icons singleton so the header and the sidebar can see it. Git and autostart act a row at a time, and a theme applies on click, so those have no bar. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 dayssettings: pages edit a draft, and Save writes itDanilo M.19-161/+429
The qtmaildir, Assistant and Ask presets pages wrote a field on Enter, and a switch or chip the moment it was clicked, so a half-finished change reached the file and a slip could not be taken back. They now edit a draft as fields are typed, and a Save and Discard pair in the page header (SaveBar, through Page.actions) writes or drops it. Save waits while a field holds a value that cannot be written, and a draft over a file that changed on disk meanwhile is refused at Save rather than written over it. A dot in the sidebar marks a page with unsaved edits; drafts survive moving between pages. The four Mail pages share one draft, since they are one file. Tool switches are staged too and renamed on Save; model Load, Prefer and Restart stay immediate, being actions rather than settings. Live editing needed two rules. A field is no longer bound to its value, which would reset the cursor and eat a typed trailing space; it follows the value only when the draft moves under it. And a Repeater's model is now the set of row keys (or a count), assigned only when that set changes: an array rebuilt from the draft on each keystroke recreates every row, including the one being typed in, which loses its focus. Git, autostart's rows, HyprSunset, HyprIdle and User keep their own buttons. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 daysqtmaildir settings: the colour dialog follows the desktop's dark styleDanilo M.1-6/+13
QtQuick.Dialogs' ColorDialog opened light on the dark desktop. It paints from the Qt Quick palette, which qt6ct leaves at Qt's default here: its custom_palette is off and the dark comes from the kvantum-dark widget style, which Qt Quick does not use. Qt.labs.platform's ColorDialog falls back to the widget QColorDialog in a QApplication, which this process already is for the tray menus, and widgets take the kvantum style like every other application. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 daysqtmaildir settings: a colour picker for colour fieldsDanilo M.5-12/+86
An account's chip colour and each tag colour were #rrggbb typed by hand. A swatch beside each now shows the colour and opens Qt's own ColorDialog, which writes the choice back as #rrggbb; typing still works. The add-tag row has one too, filling its field. Setting.qml gains a colour flag rather than a second component, since a colour key is an ordinary text key with a swatch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 dayssettings: qtmaildir's config, in four Mail pagesDanilo M.20-0/+1235
qtmaildir is configured through qtmaildir.conf alone, which it reads at startup and never writes. Four settings pages under a new Mail group edit it: Mail ([general], [sync], [completion]), Compose, Accounts (a card per account, add and remove) and Tags & shortcuts ([tagcolors] and [keys]). Fields save on Enter and unset when emptied, with qtmaildir's defaults as placeholders and numbers range-checked; the pages say when qtmaildir is running and a change waits for its restart. Ini.js edits the file line by line so its comments survive. Headers are only whole [name] lines: a section is never cut at the next "[", since values such as [Gmail]/Bozze hold brackets, the trap AGENTS.md records. The shortcut actions are copied from qtmaildir's KeyMap::knownActions() rather than exported by it, since a CLI flag there would have meant translations and a changelog entry; the field also takes free text, and the copy is marked as a ponytail ceiling. The settings sidebar now clips, which a list long enough to scroll showed it did not: entries drew over the search box. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 daysassistant: Load no longer changes the preferred modelDanilo M.4-15/+27
Load set the preference as well as swapping the model in, so loading a model from the settings page for any reason made it the assistant's model too: after loading Qwen there, the canvas kept Qwen instead of bringing the preferred Gemma back. Load and Prefer are now separate buttons: Load swaps a model in now and leaves the preference alone, and Prefer only records which model the canvas loads when it opens. The canvas header also showed a stale model name after a swap; it now takes the model from the daemon's ctx event, which carries it from desktop-assistant f9d4644 on. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 daysassistant: opening the canvas loads the preferred modelDanilo M.5-2/+33
A preferred model that only took effect from the settings page did nothing the next time another client had swapped it out. On this desktop one model and one client run at a time, so opening the canvas is when the assistant's model should come back: if the preferred one is neither loaded nor loading, it is loaded, and the canvas header says so until the router reports it in. The daemon still never asks for a model; with no preference set nothing changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>