diff --git a/rc/rc.wmii.rc b/rc/rc.wmii.rc index 858cbc98..ac738e39 100755 --- 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 index 29673e1a..b2cb9075 100644 --- a/rc/wmiirc.sh +++ b/rc/wmiirc.sh @@ -9,8 +9,8 @@ LEFT=h RIGHT=l # Colors tuples: " " -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 }