Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Unit]
- Description=Lock the screen automatically after a timeout
- [Service]
- Type=simple
- User=vast
- Environment=DISPLAY=:0
- ExecStart=/usr/bin/xautolock -time 3 -locker "/usr/bin/i3lock-fancy -t 'Have a nice day!' -f 'Consolas' -p" -detectsleep
- Restart=on-failure
- RestartSec=30
- [Install]
- WantedBy=multi-user.target
Add Comment
Please, Sign In to add comment