Files
z-bar-qt/Daemons/LidService.qml
T
AramJonghu 7dbce0bf8c
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 11s
Python / lint-format (pull_request) Successful in 23s
Python / test (pull_request) Successful in 45s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m4s
qmlls lied to me - import ZShell returned
2026-06-03 16:29:11 +02:00

19 lines
241 B
QML

import Quickshell
import ZShell
import QtQuick
Scope {
id: root
signal requestLock
Connections {
function onStateChanged(): void {
if (LidWatcher.state === LidWatcher.Closed)
root.requestLock();
}
target: LidWatcher
}
}