updating lockmon
This commit is contained in:
parent
492e4719fa
commit
655f929f76
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@ bus-monitor --session "type='signal',interface='org.freedesktop.ScreenSaver'" |
|
|||
while read x; do
|
||||
case "$x" in
|
||||
# Simulate monitor being off
|
||||
*"boolean true"*) xrandr --output HDMI-A-1 --brightness 0.0;;
|
||||
*"boolean true"*) xrandr --output HDMI-0 --brightness 0.0;;
|
||||
# Restore monitor brightness
|
||||
*"boolean false"*) xrandr --output HDMI-A-1 --brightness 1.0;;
|
||||
*"boolean false"*) xrandr --output HDMI-0 --brightness 1.0;;
|
||||
esac
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue