diff options
Diffstat (limited to 'x/startdwm.sh')
-rwxr-xr-x | x/startdwm.sh | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/x/startdwm.sh b/x/startdwm.sh deleted file mode 100755 index 496d79b..0000000 --- a/x/startdwm.sh +++ /dev/null @@ -1,16 +0,0 @@ -# stolen from https://wiki.archlinux.org/title/Dwm#Restart_dwm and therefore may be under the GNU Free Documentation License v1.3. -# relaunch DWM if the binary changes, otherwise bail -csum="" -new_csum=$(sha1sum $(which dwm)) -while true -do - if [ "$csum" != "$new_csum" ] - then - csum=$new_csum - dbus-launch dwm - else - exit 0 - fi - new_csum=$(sha1sum $(which dwm)) - sleep 0.5 -done |