Put this in a file called standby.sh. By 'standby' I am refering to screen blanking. You can find radeontool in the AUR packages.
#! /bin/sh # Scripted 18 September 2006 by Michael Schmitz # Toggles the state of the LCD backlight. radeontool light | grep off # If the previous command succeeded if [ $? -eq 0 ]; then echo Shutting off the LCD backlight. radeontool light on else echo Turning on the LCD backlight. radeontool light off fi
