linux-utils/loopdwm

17 lines
304 B
Text
Raw Normal View History

2017-01-24 01:46:57 +00:00
#!/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