1
0
mirror of https://github.com/Foltik/dotfiles synced 2024-11-28 05:27:06 -05:00
dotfiles/cfg/systemd/user/locker.service

12 lines
260 B
SYSTEMD
Raw Normal View History

2017-07-24 20:58:23 -04:00
[Unit]
Description=Lock the screen automatically after a timeout
[Service]
Type=simple
User=lain
Environment=DISPLAY=:0
ExecStart=/usr/bin/xautolock -time 1 -locker "/usr/bin/i3lock-fancy -t 'Station Locked'" -detectsleep
[Install]
WantedBy=graphical.target