Skip to content

Commit

Permalink
Add service file to lock after resume from suspend
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelRobitaille committed Jul 16, 2019
1 parent 3d110b2 commit cc93190
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions systemd/lock.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[Unit]
Description=Lock the screen on resume from suspend

[Service]
User=marcel
Environment=DISPLAY=:0
ExecStart=/usr/local/bin/gllock

[Install]
WantedBy=suspend.target hibernate.target hybrid-sleep.target

0 comments on commit cc93190

Please sign in to comment.