Created
May 27, 2015 15:34
-
-
Save meznak/76537a7fc3f57a2ea1be to your computer and use it in GitHub Desktop.
xscreensaver lock before suspend
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=Lock X session using xscreensaver | |
Before=sleep.target | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/bin/xscreensaver-command -lock | |
[Install] | |
WantedBy=sleep.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment