while true do echo `date` sleep 2 pidof dwm > /dev/null || break done | dwm