lockscreen bg blur fixes

This commit is contained in:
Zacharias-Brohn
2025-12-05 15:40:17 +01:00
parent dad3fa6bbf
commit 563d881d6f
5 changed files with 203 additions and 75 deletions
+22 -1
View File
@@ -4,19 +4,38 @@ import Quickshell
import Quickshell.Wayland
import Quickshell.Hyprland
import QtQuick
import QtQuick.Effects
import qs.Config
Scope {
id: root
property alias lock: lock
property int seenOnce: 0
Timer {
interval: 500
running: true
repeat: false
onTriggered: {
if ( Config.lock.fixLockScreen ) {
Quickshell.execDetached(["hyprctl", "keyword", "misc:session_lock_xray", "true"]);
console.log("Fixed lock screen X-ray issue.");
}
}
}
WlSessionLock {
id: lock
signal unlock
signal requestLock
LockSurface {
id: lockSurface
lock: lock
pam: pam
scope: root
}
}
@@ -31,7 +50,9 @@ Scope {
description: "Lock the current session"
appid: "zshell-lock"
onPressed: {
lock.locked = true
lock.locked = true;
}
}
}