13 lines
322 B
Diff
13 lines
322 B
Diff
--- a/betterlockscreen
|
|
+++ b/betterlockscreen
|
|
@@ -965,6 +965,6 @@ done
|
|
# Activate lockscreen
|
|
[[ $runsuspend ]] || lockargs+=(-n)
|
|
[[ $runlock ]] && lockselect "$lockstyle" && \
|
|
- { [[ $runsuspend ]] && systemctl suspend; }
|
|
+ { [[ $runsuspend ]] && loginctl suspend; }
|
|
|
|
-exit 0
|
|
\ No newline at end of file
|
|
+exit 0
|