#!/bin/sh DISPLAY=:0.0 xset -q | grep -q "Monitor is Off" echo $? > $HOME/.cache/node-exporter/display-standby-state