From 1c08b44423ee59c64c0802dbec3d6f089e44f7d1 Mon Sep 17 00:00:00 2001 From: David Runge Date: Fri, 6 May 2016 02:07:31 +0200 Subject: bin/i3lock: Adding i3lock script to override default. This script will take a modified version of a screenshot as background for i3lock. --- bin/i3lock | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 bin/i3lock (limited to 'bin') diff --git a/bin/i3lock b/bin/i3lock new file mode 100755 index 0000000..2958667 --- /dev/null +++ b/bin/i3lock @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +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 -- cgit v1.2.3-70-g09d2