mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-10 02:04:21 +02:00
lock: use more steps to fade screen
This commit is contained in:
parent
35f0a4296b
commit
9eb6982085
1 changed files with 1 additions and 2 deletions
|
@ -15,8 +15,7 @@ case "$1" in
|
|||
trap "xbacklight -steps 1 -set $(xbacklight -get); kill %%" EXIT
|
||||
min_brightness=0
|
||||
fade_time=$(($notify * 1000))
|
||||
fade_steps=20
|
||||
fade_step_time=0.05
|
||||
fade_steps=100
|
||||
xbacklight -time $fade_time -steps $fade_steps -set $min_brightness
|
||||
sleep 2147483647 &
|
||||
wait
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue