diff options
| author | GNUxeava <bluenerd@protonmail.com> | 2022-02-21 08:54:52 +0530 |
|---|---|---|
| committer | GNUxeava <bluenerd@protonmail.com> | 2022-02-21 08:54:52 +0530 |
| commit | 00d824454054cff349d40887ff43e972efbafb52 (patch) | |
| tree | a76fb28d17ae9f035888b11cd253e797a2a0cece /betterlockscreen | |
| parent | c625f8b8a179d42ef6acd5b46de044283d0c6552 (diff) | |
modify to run on OpenRC and remove systemd support
Diffstat (limited to 'betterlockscreen')
| -rwxr-xr-x | betterlockscreen | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/betterlockscreen b/betterlockscreen index ffa9dfe..e05145b 100755 --- a/betterlockscreen +++ b/betterlockscreen @@ -969,6 +969,6 @@ echof header "Betterlockscreen" # Activate lockscreen [[ $runsuspend ]] || lockargs+=(-n) [[ $runlock ]] && lockselect "$lockstyle" && \ - { [[ $runsuspend ]] && systemctl suspend; } + { [[ $runsuspend ]] && loginctl suspend; } exit 0 |
