#!/bin/sh
while checksum=$(sha1sum $(which dwm)) && [ "$checksum" != "$prev_checksum" ]
do
    prev_checksum="$checksum"
    dwm
done