forked from Shinonome/dots-hyprland
use quickshell for lock
This commit is contained in:
@@ -25,6 +25,15 @@ Scope {
|
||||
id: sessionLoader
|
||||
active: false
|
||||
|
||||
Connections {
|
||||
target: GlobalStates
|
||||
function onScreenLockedChanged() {
|
||||
if (GlobalStates.screenLocked) {
|
||||
sessionLoader.active = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
sourceComponent: PanelWindow { // Session menu
|
||||
id: sessionRoot
|
||||
visible: sessionLoader.active
|
||||
|
||||
Reference in New Issue
Block a user