forked from Shinonome/dots-hyprland
🐛 fix(lock): remove duplicate connection, only start if configured, stop on unlock
This commit is contained in:
@@ -25,13 +25,6 @@ Scope {
|
||||
LockContext {
|
||||
id: lockContext
|
||||
|
||||
Connections {
|
||||
target: GlobalStates
|
||||
function onScreenLockedChanged() {
|
||||
if (GlobalStates.screenLocked) lockContext.reset();
|
||||
}
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: GlobalStates
|
||||
function onScreenLockedChanged() {
|
||||
|
||||
Reference in New Issue
Block a user