diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/i3lock | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,7 +1,10 @@ #!/usr/bin/env bash + +set -euo pipefail + image_location=/tmp/$(whoami)/screen_locked.png -xset b off -scrot -q 100 $image_location -convert -quality 1 -implode 1 -motion-blur 16x10 $image_location $image_location -i3lock -i $image_location -ef +/usr/bin/xset b off +/usr/bin/scrot -q 100 $image_location +/usr/bin/convert -quality 1 -implode 1 -motion-blur 16x10 $image_location $image_location +/usr/bin/i3lock -i $image_location -ef |