Skip to content

Instantly share code, notes, and snippets.

@nocke
Created April 7, 2020 10:15
Show Gist options
  • Save nocke/283410b30a1b8fef2ea20202da68fb00 to your computer and use it in GitHub Desktop.
Save nocke/283410b30a1b8fef2ea20202da68fb00 to your computer and use it in GitHub Desktop.
#!/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