#!/usr/bin/env sh while true; do time=$(date +'%H:%M') # bat=$(acpi | awk '{print $4}' | head -c3) # xsetroot -name " $bat | $time " xsetroot -name " $time " sleep 1 done