Re: [dwm] way towards 5.0

From: Szabolcs Nagy <nszabolcs_AT_gmail.com>
Date: Thu, 22 May 2008 21:51:12 +0200

On 5/22/08, Johannes Hofmann <Johannes.Hofmann_AT_gmx.de> 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 ;)
Received on Thu May 22 2008 - 21:51:14 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:43:44 UTC