Created
May 10, 2017 02:06
-
-
Save WolfangAukang/ffc3f481696c239c5583b5b3a0499e06 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Swaylock after suspension | |
After=suspend.target | |
[Service] | |
User=%I | |
Type=forking | |
Environment=DISPLAY=:0 | |
ExecStart=/usr/local/bin/lock-screen.sh | |
[Install] | |
WantedBy=multi.user.target sleep.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment