summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/shell/quickshell/Services/Brightness.qml
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell/Services/Brightness.qml')
-rw-r--r--accounts/gkleen@sif/shell/quickshell/Services/Brightness.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/Services/Brightness.qml b/accounts/gkleen@sif/shell/quickshell/Services/Brightness.qml
index c01169cd..f3ae6804 100644
--- a/accounts/gkleen@sif/shell/quickshell/Services/Brightness.qml
+++ b/accounts/gkleen@sif/shell/quickshell/Services/Brightness.qml
@@ -84,7 +84,9 @@ Singleton {
84 property bool onlyInternal: true 84 property bool onlyInternal: true
85 Connections { 85 Connections {
86 target: NiriService 86 target: NiriService
87 onOutputsChanged: root.onlyInternal = Object.keys(NiriService.outputs).every(oname => oname == "eDP-1") 87 function onOutputsChanged() {
88 root.onlyInternal = Object.keys(NiriService.outputs).every(oname => oname == "eDP-1");
89 }
88 } 90 }
89 onOnlyInternalChanged: { 91 onOnlyInternalChanged: {
90 if (startupDelay.running) 92 if (startupDelay.running)