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