summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/shell/quickshell/BrightnessWidget.qml
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell/BrightnessWidget.qml')
-rw-r--r--accounts/gkleen@sif/shell/quickshell/BrightnessWidget.qml20
1 files changed, 13 insertions, 7 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/BrightnessWidget.qml b/accounts/gkleen@sif/shell/quickshell/BrightnessWidget.qml
index 7f9c1ad0..3bb5a80e 100644
--- a/accounts/gkleen@sif/shell/quickshell/BrightnessWidget.qml
+++ b/accounts/gkleen@sif/shell/quickshell/BrightnessWidget.qml
@@ -62,16 +62,22 @@ Item {
62 hoverEnabled: true 62 hoverEnabled: true
63 enabled: true 63 enabled: true
64 64
65 anchors.centerIn: parent 65 anchors.fill: parent
66
67 Item {
68 anchors.fill: parent
69
70 Text {
71 id: widgetTooltipText
66 72
67 Text { 73 anchors.centerIn: parent
68 id: widgetTooltipText
69 74
70 font.pointSize: 10 75 font.pointSize: 10
71 font.family: "Fira Sans" 76 font.family: "Fira Sans"
72 color: "white" 77 color: "white"
73 78
74 text: `${Math.round(Brightness.currBrightness * 100)}%` 79 text: `${Math.round(Brightness.currBrightness * 100)}%`
80 }
75 } 81 }
76 } 82 }
77 } 83 }