#!/bin/sh touch /tmp/rofi-power-state tail -f /tmp/rofi-power-state | awk '{ print "{\"text\":\"test\",\"class\":\"" $0 "\"}" }'