mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-26 13:07:49 -04:00
fix lock check
This commit is contained in:
1 parent
f27b0f5cd1
commit
f3bf7de377
1 file changed
+1
-1
@@ -23,7 +23,7 @@ Item {
|
||||
|
||||
Process {
|
||||
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
|
||||
|
||||
onExited: (exitCode, exitStatus) => {
|
||||
|
||||
Reference in new issue
Block a user