mirror of
https://github.com/captn3m0/Scripts.git
synced 2024-09-28 16:22:49 +00:00
f595cc66c3
- lock is just blur based on imagemgaick - get window criteria is a helper script
6 lines
305 B
Bash
Executable File
6 lines
305 B
Bash
Executable File
#!/bin/bash
|
|
xset -b #disable scrot beep
|
|
scrot /tmp/screen.png
|
|
mogrify -scale 10% -scale 1000% /tmp/screen.png
|
|
[[ -f /home/user/images/icons/lock-icon.png ]] && convert /tmp/screen.png /home/user/images/icons/lock-icon-1.png -gravity center -composite -matte /tmp/screen.png
|
|
i3lock -e -u -i /tmp/screen.png |