mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-08-31 23:09:56 +02:00
lock: set minimum brightness to 1
This is done to avoid turning off the screen.
This commit is contained in:
parent
83c49d1222
commit
e251895730
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ case "$1" in
|
||||||
echo "$me: dim: start"
|
echo "$me: dim: start"
|
||||||
trap 'exit 0' TERM INT
|
trap 'exit 0' TERM INT
|
||||||
trap "kill %% ; wait ; xbacklight -steps 1 -set $(xbacklight -get)" EXIT
|
trap "kill %% ; wait ; xbacklight -steps 1 -set $(xbacklight -get)" EXIT
|
||||||
min_brightness=0
|
min_brightness=1
|
||||||
fade_time=$(($notify * 1000))
|
fade_time=$(($notify * 1000))
|
||||||
fade_steps=100
|
fade_steps=100
|
||||||
xbacklight -time $fade_time -steps $fade_steps -set $min_brightness &
|
xbacklight -time $fade_time -steps $fade_steps -set $min_brightness &
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue