1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-07 05:55:37 -05:00

fix lock check

This commit is contained in:
bbedward
2025-08-12 11:35:30 -04:00
parent f27b0f5cd1
commit f3bf7de377

View File

@@ -23,7 +23,7 @@ Item {
Process { Process {
id: lockStateChecker id: lockStateChecker
command: ["sh", "-c", "loginctl show-session $(loginctl list-sessions --no-legend | awk '{print $1}' | head -1) --property=LockedHint"] command: ["loginctl", "show-session", Quickshell.env("XDG_SESSION_ID"), "--property=LockedHint"]
running: false running: false
onExited: (exitCode, exitStatus) => { onExited: (exitCode, exitStatus) => {