commit 349120b43b35eed410aa70dfdb70b73609265ac0
parent d3fbdfac1be4926927c4caab7b4cb2fb63828b7e
Author: Georg Neis <gn@wmii.de>
Date: Wed, 22 Mar 2006 17:58:04 +0100
bourne shell has no !
Diffstat:
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/rc/wmiirc b/rc/wmiirc
@@ -8,20 +8,21 @@ xwrite() {
proglist() {
ls -lL `echo "$@" | tr : ' '` 2>/dev/null |
- awk 'NF>2 && !/^d/ && $1 ~ /x/ {print $NF}' | sort -u
+ awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort -u
}
-# give wmiiwm a chance to start
-while ! echo Start wmiirc | wmiir write /event >/dev/null 2>&1
-do
- sleep 1
-done
-
MODKEY=Alt
WMII_FONT='fixed' export WMII_FONT
WMII_NORMCOLORS='#222222 #eeeeee #666666' export WMII_NORMCOLORS
WMII_SELCOLORS='#ffffff #285577 #4c7899' export WMII_SELCOLORS
+# give wmiiwm a chance to start
+while :
+do
+ echo Start wmiirc | wmiir write /event >/dev/null 2>&1 && break
+ sleep 1
+done
+
# WM CONFIGURATION
xwrite /def/border 3
xwrite /def/snap 20