import QtQuick import Quickshell import Quickshell.Wayland import "root:/services" import "root:/lock" // Session lock. Replaces hyprlock; authenticates through the existing // /etc/pam.d/hyprlock stack, which is just `auth include login`. // // The visuals live in LockFace so they can be exercised in an ordinary window // (see lockpreview.qml) without locking the session to test a colour. WlSessionLock { id: lock locked: Actions.lockRequested WlSessionLockSurface { id: lockSurface color: "black" LockFace { anchors.fill: parent // So each screen blurs its own wallpaper rather than all of them // sharing whichever one hyprpaper happened to list first. screenName: lockSurface.screen ? lockSurface.screen.name : "" onUnlocked: Actions.lockRequested = false } } }