diff options
author | Pavan Jadhaw <pavanjadhaw96@gmail.com> | 2018-09-18 03:33:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-18 03:33:59 +0000 |
commit | 6d00aaa0947da9f9a015a9d9561f66fd452d7db6 (patch) | |
tree | 6dcb78265f1d58c3a369f68b90a5eed7020ac37f /README.md | |
parent | e370b886900dabea53177e337a71fa4918f28157 (diff) |
Update: betterlockscreen systemd unit file
* Different approach to systemd-suspend lockscreen
* Update README.md
* Update systemd unit file
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -47,6 +47,23 @@ In this case a random image from the directory is chosen and converted to a 1920x1080 resolution with the blur factor set to 0.5 ``` +## Lockscreen when suspended + +``` +# move service file to proper dir (the aur package does this for you) +cp betterlockscreen@.service /etc/systemd/system/ + +# enable systemd service +systemctl enable betterlockscreen@$USER + +# disable systemd service +systemctl disable betterlockscreen@$USER + + +Note: Now you can call systemctl suspend to suspend your system and betterlockscreen service will be activated +so when your system wakes your screen will be locked. +``` + ## Installation via AUR package ### [release](https://aur.archlinux.org/packages/betterlockscreen/) |