Skip to content

Instantly share code, notes, and snippets.

@MasWag
Created March 15, 2015 07:22
Show Gist options
  • Save MasWag/10c083d402cfbbe4ccb5 to your computer and use it in GitHub Desktop.
Save MasWag/10c083d402cfbbe4ccb5 to your computer and use it in GitHub Desktop.
config file of screen lock with physlock with systemd
[Unit]
Description=Lock session
Before=sleep.target suspend.target hibernate.target
[Service]
Type=forking
ExecStart=/usr/bin/physlock -ds -u calros
[Install]
WantedBy=sleep.target suspend.target hibernate.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment