mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-21 08:19:58 -05:00
🐛 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