[hackers] [wmii] Another wmiirc fix.

From: Kris Maglione <jg_AT_suckless.org>
Date: Sat Mar 03 23:59:18 2007

changeset: 1996:8596f0046460
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Sat Mar 03 17:56:46 2007 -0500
summary: Another wmiirc fix.

diff -r 20146c2fee95 -r 8596f0046460 rc/wmiirc
--- a/rc/wmiirc Sat Mar 03 17:56:18 2007 -0500
+++ b/rc/wmiirc Sat Mar 03 17:56:46 2007 -0500
@@ -166,7 +166,7 @@ tagsmenu() {
 }
 
 conf_which() {
- prog=$({PATH="$WMII_CONFPATH:$PATH" which $1})
+ prog=$(PATH="$WMII_CONFPATH:$PATH" which $1)
         shift
         if [ -n "$prog" ]; then
                 $prog
@@ -199,15 +199,13 @@ EOF
 
 # Setup Tag Bar
 wmiir ls /lbar |
-while read bar
-do
+while read bar; do
         wmiir remove "/lbar/$bar"
 done
 
 seltag="$(wmiir read /tag/sel/ctl 2>/dev/null)"
 wmiir ls /tag | sed -e 's|/||; /^sel$/d' |
-while read tag
-do
+while read tag; do
         if [ "X$tag" = "X$seltag" ]; then
                 echo "$WMII_FOCUSCOLORS" "$tag" | wmiir create "/lbar/$tag"
         else
Received on Sat Mar 03 2007 - 23:59:18 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:56:09 UTC