Improve hover behaviour, make font configurable, adjust overview

This commit is contained in:
2026-09-09 16:45:21 -07:00
parent 69cc62cb55
commit 5a60cf9f1d
13 changed files with 96 additions and 32 deletions
+10 -10
View File
@@ -4,7 +4,7 @@ import Quickshell.Services.Pipewire
import QtQuick
Shape {
id: root
id: percentIndicator
preferredRendererType: Shape.CurveRenderer
property var percent
ShapePath {
@@ -14,10 +14,10 @@ Shape {
strokeWidth: 2
PathAngleArc {
moveToStart: true
centerX: root.width/2
centerY: root.height/2
radiusX: root.width/2
radiusY: root.height/2
centerX: percentIndicator.width/2
centerY: percentIndicator.height/2
radiusX: percentIndicator.width/2
radiusY: percentIndicator.height/2
startAngle: 90 + 40
sweepAngle: 360 - 80
}
@@ -29,12 +29,12 @@ Shape {
strokeWidth: 2
PathAngleArc {
moveToStart: true
centerX: root.width/2
centerY: root.height/2
radiusX: root.width/2 - 1
radiusY: root.height/2 - 1
centerX: percentIndicator.width/2
centerY: percentIndicator.height/2
radiusX: percentIndicator.width/2 - 1
radiusY: percentIndicator.height/2 - 1
startAngle: 90 + 40
sweepAngle: root.percent * (360 - 80)
sweepAngle: percentIndicator.percent * (360 - 80)
}
}
}