diff options
author | David Runge <dave@sleepmap.de> | 2017-11-03 18:24:13 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2017-11-03 18:24:13 +0100 |
commit | a926d9ca69d88e9a547900f001ab52e5e15a5cc1 (patch) | |
tree | 55f4196c7009c3b2ae5a6eeba66ea9cf33341773 /bin/i3lock | |
parent | 475f46fb9e094108e890fef311156650b5b556aa (diff) | |
download | dotfiles-a926d9ca69d88e9a547900f001ab52e5e15a5cc1.tar.gz dotfiles-a926d9ca69d88e9a547900f001ab52e5e15a5cc1.tar.bz2 dotfiles-a926d9ca69d88e9a547900f001ab52e5e15a5cc1.tar.xz dotfiles-a926d9ca69d88e9a547900f001ab52e5e15a5cc1.zip |
bin/i3lock: Removing local i3lock version. Blurring images costs too many cycles.
Diffstat (limited to 'bin/i3lock')
-rwxr-xr-x | bin/i3lock | 21 |
1 files changed, 0 insertions, 21 deletions
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 |