diff options
author | David Runge <dave@sleepmap.de> | 2016-05-06 02:07:31 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2016-05-06 02:07:31 +0200 |
commit | 1c08b44423ee59c64c0802dbec3d6f089e44f7d1 (patch) | |
tree | cf8a27cac8dbb7b3dad2b2de7c5621e8e9b0f6f8 /bin/i3lock | |
parent | c976d0178f9b2fc05ab9a64f3ae28ee0a6b65417 (diff) | |
download | dotfiles-1c08b44423ee59c64c0802dbec3d6f089e44f7d1.tar.gz dotfiles-1c08b44423ee59c64c0802dbec3d6f089e44f7d1.tar.bz2 dotfiles-1c08b44423ee59c64c0802dbec3d6f089e44f7d1.tar.xz dotfiles-1c08b44423ee59c64c0802dbec3d6f089e44f7d1.zip |
bin/i3lock: Adding i3lock script to override default. This script will take a modified version of a screenshot as background for i3lock.
Diffstat (limited to 'bin/i3lock')
-rwxr-xr-x | bin/i3lock | 7 |
1 files changed, 7 insertions, 0 deletions
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 |