#!/bin/bash
while true; do
	xsetroot -name "`free | { read X; read X total used free shared buffcache available; read X swap swapused swapfree; echo $((100-$available*100/$total))% $((100*$swapused/$swap))%; }` `dfh | tr -s ' ' '	' | cut -f5 | tr '
' ' ' | sed 's/ $//'` `</proc/loadavg`"
	sleep 1
done
