From a926d9ca69d88e9a547900f001ab52e5e15a5cc1 Mon Sep 17 00:00:00 2001 From: David Runge Date: Fri, 3 Nov 2017 18:24:13 +0100 Subject: bin/i3lock: Removing local i3lock version. Blurring images costs too many cycles. --- bin/i3lock | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100755 bin/i3lock diff --git a/bin/i3lock b/bin/i3lock deleted file mode 100755 index 375e838..0000000 --- a/bin/i3lock +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail - -image_fallback=/usr/share/archlinux/wallpaper/archlinux-underground.jpg -image_location=$XDG_RUNTIME_DIR/screen-lock.png - -function create_background() -{ - /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 -} - -function lock_screen() -{ - /usr/bin/i3lock -i $image_location -ef -} - -create_background -lock_screen -- cgit v1.2.3-70-g09d2