From 3345afa2ae8f9c8159548fc23e5b4bf8f1fd9035 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Thu, 15 Oct 2026 11:28:32 +0200 Subject: feat(desktop): performance and clipboard pages, a scrolling tile grid The tile grid sits in a Flickable capped at three rows, so the fourth row the new modules bring scrolls inside that box instead of eating the notification space; a thin accent bar in the margin shows only when a row is hidden. Tiles are reordered with the everyday ones first. Performance shows the island's PerfPanel in a Page, with a tile line of CPU and RAM and the warning dot. Perf.detailed is now a count of live PerfPanel instances instead of a binding in the status pill: the island and the drawer both host the panel, and a bool with two writers would let one clear it under the other. Clipboard reads cliphist when its page opens: search, copy on click or Enter, delete per row, clear all behind a 3 second confirm, image entries as thumbnails decoded once onto tmpfs. Entries reach sh as $1, never inside a command string. A copy closes the drawer through a new Page.dismiss signal the drawer connects like back. Co-Authored-By: Claude Opus 5.5 --- desktop/README.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'desktop/README.md') diff --git a/desktop/README.md b/desktop/README.md index 5536d7d..b0d3a2a 100644 --- a/desktop/README.md +++ b/desktop/README.md @@ -1,7 +1,8 @@ # desktop One drawer, left of DP-1, hosting the things a desktop lets you adjust. -Reached over IPC (`ipc call drawer toggle`), from a Hyprland bind. +Reached over IPC (`ipc call drawer toggle`), from SUPER pressed and released +alone, a Hyprland release bind. The same process also hosts the island, see `island/README.md`. The drawer opens as a grid of tiles, and clicking a tile either opens that @@ -32,6 +33,8 @@ the IPC layer rejects. The page-less grid entry is therefore the zero-argument modules/vm/ libvirt state, live stats, snapshots modules/appearance/ a tile that opens the separate appearance shell modules/ai/ local AI engines, start/stop for the apps using them + modules/perf/ the island's performance panel at drawer size + modules/clipboard/ cliphist history: search, copy, delete, clear all Sound, mail, vm, network, bluetooth, kdeconnect and ai each carry their own README. Appearance is a tile onto the separate appearance shell, whose README covers the @@ -105,9 +108,14 @@ click outside closes it. The top of the panel is an empty reserved area for the notification engine. It is an empty `Item` claiming the space, not a placeholder graphic, so the grid below it sits where it will sit once notifications arrive. The bottom is a -fixed, never-scrolled `Flow` grid: three columns at 180px minimum, wrapping -and adding rows up to a 3x3 ceiling for the modules that exist, in the order -Sound, Network, Bluetooth, KDE Connect, Mail, Appearance, Machines. +`Flow` grid of three columns inside a `Flickable` capped at three rows: a +fourth row scrolls inside that box rather than pushing into the notification +space, and a thin accent bar in the margin shows only when a row is hidden. +The order is Sound, Network, Bluetooth, KDE Connect, Mail, Status, +Performance, Clipboard, VMs, AI, Appearance, the everyday ones first. + +A page can close the whole drawer by emitting `dismiss` from its `Page`, as +the clipboard does after a copy; `back` returns to the grid. ## Hyprland -- cgit v1.2.3