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:
@@ -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