lock: set minimum brightness to 1

This is done to avoid turning off the screen.
This commit is contained in:
Vincent Bernat 2014-09-14 08:39:37 +02:00
parent 83c49d1222
commit e251895730

View file

@ -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 &