1
0
mirror of https://github.com/Foltik/dotfiles synced 2025-02-26 09:06:11 -05:00
dotfiles/config/systemd/user/locker.service
2017-07-24 17:58:23 -07:00

12 lines
260 B
Desktop File

[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