commit f58ce93f6fe85ae60d7169a25e2fa4ac70fb2422
parent 97dfe7839c4aeae6aab06cc7ac438d4c2bbc67bd
Author: sqweek <sqweek@gmail.com>
Date: Wed, 14 Nov 2007 10:58:53 +0900
Changed colour scheme.
Fixed mawk incompatibility in proglist().
Diffstat:
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/rc/rc.wmii.rc b/rc/rc.wmii.rc
@@ -37,8 +37,8 @@ LEFT=h
RIGHT=l
WMII_FONT='-*-fixed-medium-r-*-*-13-*-*-*-*-*-*-*'
-WMII_NORMCOLORS=('#222222' '#5FBF77' '#2A7F3F')
-WMII_FOCUSCOLORS=('#ffffff' '#153F1F' '#2A7F3F')
+WMII_NORMCOLORS=('#888888' '#222222' '#333333')
+WMII_FOCUSCOLORS=('#ffffff' '#285577' '#4C7899')
WMII_BACKGROUND='#333333'
WMII_TERM=(xterm)
@@ -76,7 +76,7 @@ fn 9menu {
fn proglist {
/bin/ls -lL `{echo $* | sed 'y/:/ /'} >[2]/dev/null \
- | awk '$1 ~ /^[^d][^/]*x/ { print $NF }' \
+ | awk '$1 ~ /^[^d].*x/ && NF > 2 { print $NF }' \
| sort | uniq
}
diff --git a/rc/wmiirc.sh b/rc/wmiirc.sh
@@ -9,8 +9,8 @@ LEFT=h
RIGHT=l
# Colors tuples: "<text> <background> <border>"
-WMII_NORMCOLORS='#222222 #5FBF77 #2A7F3F'
-WMII_FOCUSCOLORS='#ffffff #153F1F #2A7F3F'
+WMII_NORMCOLORS='#888888 #222222 #333333'
+WMII_FOCUSCOLORS='#ffffff #285577 #4c7899'
WMII_BACKGROUND='#333333'
WMII_FONT='-*-fixed-medium-r-*-*-13-*-*-*-*-*-*-*'
@@ -184,7 +184,7 @@ Action() {
proglist() {
paths=$(echo "$@" | sed 'y/:/ /')
ls -lL $paths 2>/dev/null \
- | awk '$1 ~ /^[^d].*x/ { print $NF }' \
+ | awk '$1 ~ /^[^d].*x/ && NF > 2 { print $NF }' \
| sort | uniq
}