3 # Copyright (c) 2007, Bart Trojanowski <bart@jukie.net>
5 # This script launches the wmii window manager with the wmiirc.lua script.
7 # we will look for wmiirc in these directories
15 # try to find the best wmiirc written in lua
17 for wmiirc
in $
(eval echo ${POSSIBLE_WMIIRC}) ; do
18 if ( test -r "${wmiirc}" ) && ( head -n1 "${wmiirc}" |
grep -q lua
) ; then
19 exec wmii
-r "${wmiirc}"
23 # default to the base one