Move quickshell to its own module

This commit is contained in:
outfoxxed 2024-03-08 17:24:47 -08:00
parent 1dd031aa6b
commit b6bff47ed1
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
9 changed files with 34 additions and 30 deletions

View file

@ -1,33 +0,0 @@
import QtQuick
import QtQuick.Controls
import Quickshell
import Quickshell.Wayland
ShellRoot {
AuthContext {
id: authContext
onSuccess: {
lock.locked = false;
Qt.quit()
}
}
SessionLock {
id: lock
locked: true
SessionLockSurface {
id: surface
Image {
anchors.fill: parent
source: screen.name == "DP-1" ? "../5120x1440.png" : "../1920x1080.png"
}
Lockscreen {
anchors.fill: parent
context: authContext
}
}
}
}