linux-utils/loopdwm
2017-01-23 20:46:57 -05:00

16 lines
304 B
Bash
Executable file

#!/bin/sh
while true; do
# Chose version to use dynamically
case "$(cat ~/.dwm-exec)" in
dwm)
dwm=/usr/bin/dwm
;;
dwm-dev)
dwm=~/suckless/dwm
;;
esac
$dwm 2> ~/.dwm.log
# No error logging
#$dwm >/dev/null 2>&1
done