Guest User

Untitled

a guest
Jan 16th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. [Unit]
  2. Description=Lock the screen automatically after a timeout
  3.  
  4. [Service]
  5. Type=simple
  6. User=vast
  7. Environment=DISPLAY=:0
  8. ExecStart=/usr/bin/xautolock -time 3 -locker "/usr/bin/i3lock-fancy -t 'Have a nice day!' -f 'Consolas' -p" -detectsleep
  9. Restart=on-failure
  10. RestartSec=30
  11.  
  12. [Install]
  13. WantedBy=multi-user.target
Add Comment
Please, Sign In to add comment