From e251895730637f3a2ea4a7324527876a147ddf02 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sun, 14 Sep 2014 08:39:37 +0200 Subject: [PATCH] lock: set minimum brightness to 1 This is done to avoid turning off the screen. --- bin/xss-lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/xss-lock b/bin/xss-lock index b9c0a38..a68188a 100755 --- a/bin/xss-lock +++ b/bin/xss-lock @@ -14,7 +14,7 @@ case "$1" in echo "$me: dim: start" trap 'exit 0' TERM INT trap "kill %% ; wait ; xbacklight -steps 1 -set $(xbacklight -get)" EXIT - min_brightness=0 + min_brightness=1 fade_time=$(($notify * 1000)) fade_steps=100 xbacklight -time $fade_time -steps $fade_steps -set $min_brightness &