brightness: delay screen change rescan of devices

This commit is contained in:
bbedward committed 2025-12-04 23:10:25 -05:00
1 parent c60dd42fa7
commit ae066f42a4
1 file changed
+8 -1
+8 -1
View File
@@ -750,11 +750,18 @@ Singleton {
}
}
Timer {
id: screenChangeRescanTimer
interval: 3000
repeat: false
onTriggered: rescanDevices()
}
Connections {
target: Quickshell
function onScreensChanged() {
rescanDevices();
screenChangeRescanTimer.restart();
}
}