1 2 3 4 5 6 7 8 9 10 11 12 13
#!/bin/sh if [ ! -f /tmp/xorg-awake ]; then touch /tmp/xorg-awake xset -dpms xset s off else rm -rf /tmp/xorg-awake xset +dpms xset s on fi sigdwmb xidlechk