Last active
April 7, 2020 10:27
-
-
Save nocke/e55c698cb5762396b201251a7d73860e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
xset +dpms | |
xset dpms force standby | |
sleep 1 | |
xset dpms force suspend | |
sleep 1 | |
xset dpms force off | |
sleep 1 | |
xset dpms force on | |
sleep 1 | |
#xrandr -q | grep "connected" | |
xrandr --output HDMI1 --brightness 0.2 | |
sleep 2 | |
xrandr --output HDMI1 --brightness 1.0 | |
xset s noblank | |
/usr/bin/xsetroot -solid Black | |
xset s activate | |
sleep 1 | |
xset s activate | |
sleep 1 | |
xset dpms force on | |
/usr/bin/xsetroot -solid Red | |
xset s activate | |
sleep 1 | |
xset dpms force on | |
/usr/bin/xsetroot -solid Green | |
xset s activate | |
sleep 1 | |
xset dpms force on | |
/usr/bin/xsetroot -solid Blue | |
xset s activate | |
sleep 1 | |
xset dpms force on | |
/usr/bin/xsetroot -solid White | |
xset s activate | |
sleep 1 | |
xset s off | |
xset dpms force on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment