Correct brightness when waking up from sleep
This commit is contained in:
parent
064ce12f19
commit
ec41580160
1 changed files with 2 additions and 2 deletions
4
lock.sh
4
lock.sh
|
@ -10,6 +10,6 @@ xset -dpms
|
||||||
xidlehook \
|
xidlehook \
|
||||||
--not-when-fullscreen \
|
--not-when-fullscreen \
|
||||||
--not-when-audio \
|
--not-when-audio \
|
||||||
--timer normal 180 'xrandr --output "$PRIMARY_DISPLAY" --brightness .1' 'xrandr --output "$PRIMARY_DISPLAY" --brightness 1' \
|
--timer normal 120 'xrandr --output "$PRIMARY_DISPLAY" --brightness .1' 'xrandr --output "$PRIMARY_DISPLAY" --brightness 1' \
|
||||||
--timer normal 600 'systemctl suspend' ''
|
--timer normal 300 'xrandr --output "$PRIMARY_DISPLAY" --brightness 1; systemctl suspend' 'xrandr --output "$PRIMARY_DISPLAY" --brightness 1'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue