Initial commit

This commit is contained in:
Wilfried OLLIVIER 2022-04-10 17:40:28 +02:00
commit 290c28cc83
34 changed files with 1157 additions and 0 deletions

13
bin/saver.sh Executable file
View file

@ -0,0 +1,13 @@
#!/usr/bin/env zsh
revert() {
rm /tmp/*screen.png
xset dpms 0 0 0
}
trap revert HUP INT TERM
xset +dpms dpms 0 0 5
scrot /tmp/screen.png
convert -blur 0x8 /tmp/screen.png /tmp/lscreen.png
[[ !(-n "pidof i3lock") ]] && i3lock -u -i /tmp/lscreen.png
revert