-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgreeter.qml
More file actions
44 lines (37 loc) · 1.08 KB
/
Copy pathgreeter.qml
File metadata and controls
44 lines (37 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import QtQuick
import Quickshell
import Quickshell.Services.Greetd
import Quickshell.Wayland
import qs.modules.components.LockScreen
ShellRoot {
GreeterContext {
id: greeterContext
// When authentication succeeds and is ready to launch
onReadyToLaunch: {
// Launch Hyprland session
greeterContext.launchSession()
}
}
Variants {
model: Quickshell.screens
delegate: PanelWindow {
required property var modelData
screen: modelData
// WlrLayershell for Sway - fullscreen overlay
WlrLayershell.layer: WlrLayer.Overlay
WlrLayershell.keyboardFocus: WlrKeyboardFocus.Exclusive
// Anchor to all edges to fill screen
anchors {
top: true
bottom: true
left: true
right: true
}
exclusionMode: ExclusionMode.Ignore
GreeterSurface {
anchors.fill: parent
context: greeterContext
}
}
}
}