#!/bin/sh state="$(xset q | grep "DPMS is" | awk '{print $3}')" if [ "$state" = "Enabled" ]; then echo "[*]/" else echo "[ ]/" fi