summaryrefslogtreecommitdiff
path: root/scripts/lock
diff options
context:
space:
mode:
authorMatias Linares <matiaslina@openmailbox.org>2015-11-24 00:29:00 -0300
committerMatias Linares <matiaslina@openmailbox.org>2015-11-24 00:29:00 -0300
commit6c4c5513618105ea4ce081b04e0545c7c05431d8 (patch)
treeed61ada744e0d9ec8d2b41c24b949b2ad96185fe /scripts/lock
parentc8efcbbafd27e6352556bab2ec207b15d3202547 (diff)
downloaddotfiles-6c4c5513618105ea4ce081b04e0545c7c05431d8.tar.gz
Update
Diffstat (limited to 'scripts/lock')
-rwxr-xr-xscripts/lock4
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