This is an i3lock bash script that takes a screenshot of the desktop, blurs the background and adds a lock icon and text
website: github pages website
- i3lock-color-git
- imagemagick
- scrot
- Liberation Fonts
The lock screen in action:
Use this with xautolock to automatically lock the screen after a set time.
Systemd Unit file (edit for your own use):
[Unit]
Description=Lock the screen automatically after a timeout
[Service]
Type=simple
User=meskarune
Environment=DISPLAY=:0
ExecStart=/usr/bin/xautolock -time 5 -locker /usr/local/bin/lock/lock -detectsleep
[Install]
WantedBy=graphical.target