From a19701222b31bcdf4e260ded0c9dd9f2f2a0ffd2 Mon Sep 17 00:00:00 2001 From: AramJonghu Date: Wed, 3 Jun 2026 17:43:58 +0200 Subject: [PATCH] forgotton import and removal LidService --- Daemons/LidService.qml | 18 ------------------ Modules/Lock/IdleMonitors.qml | 1 + 2 files changed, 1 insertion(+), 18 deletions(-) delete mode 100644 Daemons/LidService.qml diff --git a/Daemons/LidService.qml b/Daemons/LidService.qml deleted file mode 100644 index 0a8fe79..0000000 --- a/Daemons/LidService.qml +++ /dev/null @@ -1,18 +0,0 @@ -import Quickshell -import ZShell -import QtQuick - -Scope { - id: root - - signal requestLock - - Connections { - function onStateChanged(): void { - if (LidWatcher.state === LidWatcher.Closed) - root.requestLock(); - } - - target: LidWatcher - } -} diff --git a/Modules/Lock/IdleMonitors.qml b/Modules/Lock/IdleMonitors.qml index 647cf22..ccd95dc 100644 --- a/Modules/Lock/IdleMonitors.qml +++ b/Modules/Lock/IdleMonitors.qml @@ -2,6 +2,7 @@ pragma ComponentBehavior: Bound import Quickshell import Quickshell.Wayland +import ZShell.internal import qs.Config import qs.Helpers