Update dwmstatus.c

use float to calculate