mirror of
https://github.com/0intro/wmii
synced 2024-11-26 07:39:37 +03:00
aef6e4c22e
EWMH support Improvements to fullscreen mode Improvements in focus, especially in no-input windows Cleaner rc.wmii, with wmii.rc include Filter out gcc error/warning dups
25 lines
378 B
Bash
25 lines
378 B
Bash
#!/bin/sh -f
|
|
RC=""
|
|
IFS=:
|
|
for i in "$PLAN9" `echo P9PATHS`; do
|
|
if [ -d "$i" -a -x "$i/bin/rc" ]; then
|
|
export PLAN9="$i"
|
|
RC="$i/bin/rc"
|
|
break;
|
|
fi
|
|
done
|
|
|
|
if [ -n "$RC" ]; then
|
|
exit 1
|
|
fi
|
|
|
|
if [ ! -x "$PLAN9/bin/read" ]; then
|
|
echo 1>&2 $0: Found rc, but not read'(1)'. You probably have an out-of-date 9base installed.
|
|
fi
|
|
|
|
if [ -n "$1" ]; then
|
|
exec "$RC" "$@"
|
|
else
|
|
true
|
|
fi
|