diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2025-09-10 16:26:09 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2025-09-10 16:26:09 +0200 |
commit | d1261f6586ab5d91e81c04ca0f586e35ee6fb8a6 (patch) | |
tree | 06d8f7132ea2522466b6aa54701f7edcdf3d884f /accounts/gkleen@sif/shell/quickshell/Services | |
parent | d20393e077b8d97b18f4a224ddcb20caf6dac23b (diff) | |
download | nixos-d1261f6586ab5d91e81c04ca0f586e35ee6fb8a6.tar nixos-d1261f6586ab5d91e81c04ca0f586e35ee6fb8a6.tar.gz nixos-d1261f6586ab5d91e81c04ca0f586e35ee6fb8a6.tar.bz2 nixos-d1261f6586ab5d91e81c04ca0f586e35ee6fb8a6.tar.xz nixos-d1261f6586ab5d91e81c04ca0f586e35ee6fb8a6.zip |
...
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell/Services')
-rw-r--r-- | accounts/gkleen@sif/shell/quickshell/Services/Brightness.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/Services/Brightness.qml b/accounts/gkleen@sif/shell/quickshell/Services/Brightness.qml index 545ef24f..87c7c05b 100644 --- a/accounts/gkleen@sif/shell/quickshell/Services/Brightness.qml +++ b/accounts/gkleen@sif/shell/quickshell/Services/Brightness.qml | |||
@@ -26,11 +26,11 @@ Singleton { | |||
26 | Component.onCompleted: root.currBrightness = root.calcCurrBrightness() | 26 | Component.onCompleted: root.currBrightness = root.calcCurrBrightness() |
27 | Connections { | 27 | Connections { |
28 | target: currFile | 28 | target: currFile |
29 | onLoaded: root.currBrightness = root.calcCurrBrightness() | 29 | function onLoaded() { root.currBrightness = root.calcCurrBrightness(); } |
30 | } | 30 | } |
31 | Connections { | 31 | Connections { |
32 | target: maxFile | 32 | target: maxFile |
33 | onLoaded: root.currBrightness = root.calcCurrBrightness() | 33 | function onLoaded() { root.currBrightness = root.calcCurrBrightness(); } |
34 | } | 34 | } |
35 | 35 | ||
36 | onCurrBrightnessChanged: { | 36 | onCurrBrightnessChanged: { |