From The Compiler, 6 Years ago, written in Bash.
Embed
  1. #!/bin/bash
  2. while true; do
  3.     if grep -q libflashplayer /proc/*/maps 2> /dev/null ; then
  4.         xset dpms 0 0 0
  5.     else
  6.         xset dpms 600 600 600
  7.     fi
  8.     sleep 60
  9. done