16 lines
304 B
Bash
Executable file
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
|