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(); + } + } } } }