Add: Lockscreen (wip)

This commit is contained in:
Ly-sec 2025-08-14 13:17:44 +02:00
parent 0069463069
commit 71433c7807
5 changed files with 804 additions and 2 deletions

View file

@ -1,8 +1,12 @@
import QtQuick
import Quickshell.Io
import qs.Modules.Lockscreen
Item {
id: root
// Reference to the lockscreen component
property var lockscreen: null
IpcHandler {
target: "settings"
@ -40,7 +44,13 @@ Item {
IpcHandler {
target: "lockScreen"
function toggle() {// TODO
function toggle() {
lockScreen.locked = !lockScreen.locked
}
}
// Lockscreen instance
Lockscreen {
id: lockScreen
}
}