dotfiles/system/etc/systemd/system/suspend.service
Severin Kaderli 052fb6bada
Update a bunch of configs
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
2019-03-26 20:22:01 +01:00

14 lines
No EOL
232 B
Desktop File

[Unit]
Description=User suspend actions
Before=suspend.target
[Service]
User=severin
Type=forking
Environment=DISPLAY=:0
ExecStart=/home/severin/.local/bin/screenlock
ExecStartPost=/usr/bin/sleep 1
[Install]
WantedBy=sleep.target