summarylogtreecommitdiffstats
path: root/screenlock.service.in
blob: d5f27a3a186e142394f00f886c742a4c50a25266 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Bloqueia a tela ao suspender
After=suspend.target
After=hibernate.target

[Service]
User=lucas59356
Type=forking
Environment=DISPLAY=:0
ExecStart=/usr/bin/xlock

[Install]
WantedBy=sleep.target