summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/shell/quickshell/BrightnessWidget.qml
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2025-09-12 14:21:21 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2025-09-12 14:21:21 +0200
commit43af16801fcbb7056a51ed5fd6539c74ff5c0379 (patch)
treebbf61e0d0df1cac84c441afaddcb2184dc450181 /accounts/gkleen@sif/shell/quickshell/BrightnessWidget.qml
parentda23e39c353e68fdc7c5839d78945e88352a7f92 (diff)
downloadnixos-43af16801fcbb7056a51ed5fd6539c74ff5c0379.tar
nixos-43af16801fcbb7056a51ed5fd6539c74ff5c0379.tar.gz
nixos-43af16801fcbb7056a51ed5fd6539c74ff5c0379.tar.bz2
nixos-43af16801fcbb7056a51ed5fd6539c74ff5c0379.tar.xz
nixos-43af16801fcbb7056a51ed5fd6539c74ff5c0379.zip
...
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 }