Files
z-bar-qt/Daemons/LidService.qml
T
AramJonghu 2920c57163
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 14s
Python / lint-format (pull_request) Successful in 21s
Python / test (pull_request) Successful in 44s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m6s
removes direct extern access, receives signal properly now, removed declaration unused method
2026-06-03 16:27:31 +02:00

18 lines
227 B
QML

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