lock script update
authorMart <mart@martlubbers.net>
Mon, 14 Apr 2014 17:57:03 +0000 (19:57 +0200)
committerMart <mart@martlubbers.net>
Mon, 14 Apr 2014 17:57:03 +0000 (19:57 +0200)
i3/lock

diff --git a/i3/lock b/i3/lock
index df8941d..eacfa85 100755 (executable)
--- a/i3/lock
+++ b/i3/lock
@@ -1,4 +1,2 @@
 #!/bin/bash
-scrot /tmp/screen_locked.png
-convert /tmp/screen_locked.png -scale 40% -scale 250% /tmp/screen_locked2.png
-i3lock -i /tmp/screen_locked2.png
+i3lock -i <(import -window root - | convert - -scale 40% -scale 250% png:-)