aboutsummaryrefslogtreecommitdiff
path: root/bin/launch_dwm
diff options
context:
space:
mode:
Diffstat (limited to 'bin/launch_dwm')
-rwxr-xr-xbin/launch_dwm18
1 files changed, 0 insertions, 18 deletions
diff --git a/bin/launch_dwm b/bin/launch_dwm
deleted file mode 100755
index 28635dd..0000000
--- a/bin/launch_dwm
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-# 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
- dwm
- else
- exit 0
- fi
- new_csum=$(sha1sum $(which dwm))
- sleep 0.5
-done
-