Created
April 7, 2020 10:15
-
-
Save nocke/283410b30a1b8fef2ea20202da68fb00 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 force off | |
sleep 1 | |
xset dpms force on | |
sleep 1 | |
#xrandr -q | grep "connected" | |
xrandr --output LVDS1 --brightness 0.2 | |
sleep 1 | |
xrandr --output LVDS1 --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