lock script update
[dotfiles.git] / 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:-)