diff options
author | Matias Linares <matiaslina@openmailbox.org> | 2015-11-24 00:29:00 -0300 |
---|---|---|
committer | Matias Linares <matiaslina@openmailbox.org> | 2015-11-24 00:29:00 -0300 |
commit | 6c4c5513618105ea4ce081b04e0545c7c05431d8 (patch) | |
tree | ed61ada744e0d9ec8d2b41c24b949b2ad96185fe /scripts/lock | |
parent | c8efcbbafd27e6352556bab2ec207b15d3202547 (diff) | |
download | dotfiles-6c4c5513618105ea4ce081b04e0545c7c05431d8.tar.gz |
Update
Diffstat (limited to 'scripts/lock')
-rwxr-xr-x | scripts/lock | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lock b/scripts/lock index 4046b49..aea1a7d 100755 --- a/scripts/lock +++ b/scripts/lock @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/mksh bg=/tmp/screen.png lock_png=${HOME}/scripts/lock.png @@ -12,7 +12,7 @@ convert ${bg} -blur 0x2 -sharpen 1x4 ${bg} [[ -f ${lock_png} ]] && convert ${bg} ${lock_png} \ -gravity center -composite -matte \ ${bg} -xbacklight -set 10 +xbacklight -set 5 i3lock -u -n -i ${bg} rm ${bg} xbacklight -set $backlight |