aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/island/Island.qml
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-16 09:50:42 +0200
committerDanilo M. <danix@danix.xyz>2026-10-16 09:50:42 +0200
commitecf306d043b62c1646a95027b4e2144be7c69178 (patch)
treea6671d804040f7563ebee9c2e05c6e344918ceef /desktop/island/Island.qml
parentdc8c94052e491f7cb1d1f8095afbcee574510d42 (diff)
downloadquickshell-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/island/Island.qml')
-rw-r--r--desktop/island/Island.qml7
1 files changed, 3 insertions, 4 deletions
diff --git a/desktop/island/Island.qml b/desktop/island/Island.qml
index 1807c82..8532652 100644
--- a/desktop/island/Island.qml
+++ b/desktop/island/Island.qml
@@ -28,8 +28,8 @@ PanelWindow {
screen: Quickshell.screens.find(s => s.name === "DP-1") ?? Quickshell.screens[0]
anchors { top: true; left: true; right: true }
- // Tall enough for the largest panel, the performance grid; the mask keeps
- // everything outside the pills click-through.
+ // Tall enough for the largest panel; the mask keeps everything outside
+ // the pills click-through.
implicitHeight: 480
color: "transparent"
exclusionMode: ExclusionMode.Ignore
@@ -38,7 +38,7 @@ PanelWindow {
WlrLayershell.namespace: "quickshell-island"
WlrLayershell.keyboardFocus: panel !== "" ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None
- // "", "sound", "perf" or "calendar".
+ // "", "sound" or "calendar".
property string panel: ""
// --- reveal and hide -------------------------------------------------
@@ -212,6 +212,5 @@ PanelWindow {
onMenuShown: win.menuHeld = true
onOpenSound: win.panel = win.panel === "sound" ? "" : "sound"
onOpenDrawer: { win.panel = ""; win.drawer.show("sound"); }
- onOpenPerf: win.panel = win.panel === "perf" ? "" : "perf"
}
}