summaryrefslogtreecommitdiff
path: root/modules/lock/Lock.qml
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2026-01-21 14:34:21 -0500
committerFreya Murphy <freya@freyacat.org>2026-01-21 14:34:21 -0500
commit2c0dd689145e48e9d3683dfd3556723895fa54aa (patch)
treeb2c37ae5136ec90c0f1fea16da6266857f886573 /modules/lock/Lock.qml
parentremove config saving, make background scale properly, and add quickshell desk... (diff)
downloadcaelestia-shell-2c0dd689145e48e9d3683dfd3556723895fa54aa.tar.gz
caelestia-shell-2c0dd689145e48e9d3683dfd3556723895fa54aa.tar.bz2
caelestia-shell-2c0dd689145e48e9d3683dfd3556723895fa54aa.zip
remove lockscreenHEADmain
Diffstat (limited to '')
-rw-r--r--modules/lock/Lock.qml55
1 files changed, 0 insertions, 55 deletions
diff --git a/modules/lock/Lock.qml b/modules/lock/Lock.qml
deleted file mode 100644
index 6fd5277..0000000
--- a/modules/lock/Lock.qml
+++ /dev/null
@@ -1,55 +0,0 @@
-pragma ComponentBehavior: Bound
-
-import qs.components.misc
-import Quickshell
-import Quickshell.Io
-import Quickshell.Wayland
-
-Scope {
- property alias lock: lock
-
- WlSessionLock {
- id: lock
-
- signal unlock
-
- LockSurface {
- lock: lock
- pam: pam
- }
- }
-
- Pam {
- id: pam
-
- lock: lock
- }
-
- CustomShortcut {
- name: "lock"
- description: "Lock the current session"
- onPressed: lock.locked = true
- }
-
- CustomShortcut {
- name: "unlock"
- description: "Unlock the current session"
- onPressed: lock.unlock()
- }
-
- IpcHandler {
- target: "lock"
-
- function lock(): void {
- lock.locked = true;
- }
-
- function unlock(): void {
- lock.unlock();
- }
-
- function isLocked(): bool {
- return lock.locked;
- }
- }
-}