Skip to content

Commit

Permalink
Add xscreensaver-lock service.
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x committed Aug 23, 2015
1 parent d82731b commit 940d04c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## HEAD

- Add xscreensaver-lock service.
- Remove slimlock service.

## 1.2.0
Expand Down
12 changes: 12 additions & 0 deletions system/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Unit]
Description=Lock X session using xscreensaver for user %i
Documentation=man:xscreensaver(1)
Before=sleep.target

[Service]
User=%i
Type=oneshot
ExecStart=/usr/bin/xscreensaver-command --lock

[Install]
WantedBy=sleep.target

0 comments on commit 940d04c

Please sign in to comment.