#!/bin/sh
# inspired by by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice
status() { \
echo "$(memory)|$(cpu)|$(disk /)|$(volume)|$(battery BAT0)|$(internet)|$(clock)"
}
while :; do
xsetroot -name "$(status | tr '\n' ' ')"
sleep 1m
done