From 5e398d387e001c17f81328b2c87f4090538001ce Mon Sep 17 00:00:00 2001 From: ItsLemmy Date: Mon, 17 Nov 2025 14:55:39 -0500 Subject: [PATCH] BarSysMon: added tooltip to show mountpoint --- Modules/Bar/Widgets/SystemMonitor.qml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Modules/Bar/Widgets/SystemMonitor.qml b/Modules/Bar/Widgets/SystemMonitor.qml index 2f2fd5a1..38e07fba 100644 --- a/Modules/Bar/Widgets/SystemMonitor.qml +++ b/Modules/Bar/Widgets/SystemMonitor.qml @@ -502,6 +502,7 @@ Rectangle { } NText { + id: toto text: SystemStatService.diskPercents[diskPath] ? `${SystemStatService.diskPercents[diskPath]}%` : "n/a" family: Settings.data.ui.fontFixed pointSize: textSize @@ -517,6 +518,17 @@ Rectangle { Layout.column: isVertical ? 0 : 1 scale: isVertical ? Math.min(1.0, root.width / implicitWidth) : 1.0 } + + MouseArea { + anchors.fill: parent + hoverEnabled: true + onEntered: { + TooltipService.show(screen, diskContent, diskPath, BarService.getTooltipDirection()); + } + onExited: { + TooltipService.hide(); + } + } } } }