Adaptations for school's computer

This commit is contained in:
Geoffrey Frogeye 2016-11-23 18:56:15 +01:00
parent ba90c09552
commit dbf954db9e
5 changed files with 28 additions and 24 deletions

View file

@ -1,7 +1,8 @@
#!/bin/bash
i3-msg workspace Lock
imgpath=$HOME/.cache/blurlock.png
scrot $imgpath
convert $imgpath -blur 0x5 $imgpath
i3lock -f -i $imgpath
imgpath=$(mktemp).png
scrot "$imgpath"
convert "$imgpath" -blur 0x5 "$imgpath"
i3lock -f -i "$imgpath"
i3-msg workspace back_and_forth
rm "$imgpath"