dwmstatus: refactor