aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/island/Island.qml
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-13 11:25:07 +0200
committerDanilo M. <danix@danix.xyz>2026-10-13 11:25:07 +0200
commit0309c13e04072aaeca19462d176fefc7e7d4de2c (patch)
treec27284d8b250b8e226089244b7340680cb4c52e8 /desktop/island/Island.qml
parent782c34578b6ea48ee27bff25e9c7b7d0efab5333 (diff)
downloadquickshell-0309c13e04072aaeca19462d176fefc7e7d4de2c.tar.gz
quickshell-0309c13e04072aaeca19462d176fefc7e7d4de2c.zip
feat(island): the status pill opens the performance panel
A system monitor icon before the controls icon opens the panel in the status pill's capsule at 600px. A dot on its corner shows the worst of temperatures, RAM, disks and the public IP check, yellow or red, so a problem shows without opening anything. The detailed sampling runs only while the panel is open. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/island/Island.qml')
-rw-r--r--desktop/island/Island.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/island/Island.qml b/desktop/island/Island.qml
index 61701d8..dba995d 100644
--- a/desktop/island/Island.qml
+++ b/desktop/island/Island.qml
@@ -36,7 +36,7 @@ PanelWindow {
WlrLayershell.namespace: "quickshell-island"
WlrLayershell.keyboardFocus: panel !== "" ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None
- // "", "sound", "controls" or "calendar".
+ // "", "sound", "controls", "perf" or "calendar".
property string panel: ""
// --- reveal and hide -------------------------------------------------
@@ -220,6 +220,7 @@ PanelWindow {
onOpenSound: win.panel = win.panel === "sound" ? "" : "sound"
onOpenDrawer: { win.panel = ""; win.drawer.show("sound"); }
onOpenControls: win.toggleControls()
+ onOpenPerf: win.panel = win.panel === "perf" ? "" : "perf"
onOpenPage: page => { win.panel = ""; win.drawer.show(page); }
}
}