From 6c4c5513618105ea4ce081b04e0545c7c05431d8 Mon Sep 17 00:00:00 2001 From: Matias Linares Date: Tue, 24 Nov 2015 00:29:00 -0300 Subject: Update --- scripts/lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/lock') 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 -- cgit v1.2.3-70-g09d2