On 5/22/08, Johannes Hofmann <[EMAIL PROTECTED]> wrote: > while true > do > echo "temp $((`sysctl -n hw.acpi.thermal.tz0.temperature`/10-273))°C > batt `sysctl -n hw.acpi.battery.life`%" > sleep 1 > done | while true; do > dwm > done
this way the information in the statusbar is outdated (by 1 second) so sleep 1 echo ".." gives more up to date status info ;)