diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-16 09:50:42 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-16 09:50:42 +0200 |
| commit | ecf306d043b62c1646a95027b4e2144be7c69178 (patch) | |
| tree | a6671d804040f7563ebee9c2e05c6e344918ceef /desktop/modules/perf/PerfModule.qml | |
| parent | dc8c94052e491f7cb1d1f8095afbcee574510d42 (diff) | |
| download | quickshell-ecf306d043b62c1646a95027b4e2144be7c69178.tar.gz quickshell-ecf306d043b62c1646a95027b4e2144be7c69178.zip | |
feat(perf): the performance page moves to the drawer, with ~/.cache
The island's performance icon and panel are gone: the drawer page covers
them. With only one host left, the panel drops its three-column grid for
one card per row at a larger size, since the page scrolls; temperatures
get a card of their own as tiles. The files move from island/perf to
modules/perf.
A cache card ports conky's: ~/.cache and its five largest children,
measured with du each time the page opens (28ms over 2 GiB here) rather
than read from conky's 15-minute sampler file. The largest is yellow,
red past half the total, as conky had it.
The warning dot now shows only on the drawer tile.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/modules/perf/PerfModule.qml')
| -rw-r--r-- | desktop/modules/perf/PerfModule.qml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/desktop/modules/perf/PerfModule.qml b/desktop/modules/perf/PerfModule.qml index d0ddf35..e596f9a 100644 --- a/desktop/modules/perf/PerfModule.qml +++ b/desktop/modules/perf/PerfModule.qml @@ -11,11 +11,9 @@ import QtQuick import "../.." -import "../../island/perf" -// The island's performance panel at drawer size. Perf.qml stays in -// island/perf and is shared: its always-on sampling already runs for the -// island's warning dot, so this module adds no service of its own. +// The figures the conky dashboard used to show, as a scrolling page. Perf.qml +// samples them; the tile's dot is its severity. Module { id: mod @@ -38,7 +36,7 @@ Module { + " · RAM " + (Perf.mem ? Math.round(100 * Perf.mem.used / Perf.mem.total) + "%" : "--") } - // The same dot as the island icon. Never the accent (AGENTS.md). + // The worst severity. Never the accent (AGENTS.md). Rectangle { anchors.verticalCenter: parent.verticalCenter width: 8 |
