Re: [wmii] Lexicographical sorting of /rbar/ -- really?

From: Tobias Brandt <tobiasbrandt_AT_web.de>
Date: Sun, 03 Aug 2008 12:09:14 +0200

Try

echo -n $(<script1>) '||' $(<srcipt2>) '||' $(<srcipt3>)

in your status() function. (Replacing <scriptN> with the desired scripts.)

Michael Schreifels schrieb:
> The manpage for wmii says that /rbar/ is sorted lexicographically. In
> other words, alphabetically. Is this really the case?
>
> For example, here is /rbar/'s rendering right now:
>
> Sun, Aug 03 01:26 AM || Inbox (0) || MPD: Modest Mouse - Float On [playing]
>
> So, if alphabetical, shouldn't it *actually* be:
>
> Inbox (0) || MPD: Modest Mouse - Float On [playing] || Sun, Aug 03 01:26 AM
>
> Some more info:
>
> 1. I tried prepending "000" to MPD, but it still doesn't change positions.
> 2. I tried calling the scripts in different orders in wmiirc with no luck.
>
> Any ideas?
>
> (I would prefer: MPD || Mail || Date)
>
>

-- 
Tobias Brandt
Received on Sun Aug 03 2008 - 10:09:14 UTC

This archive was generated by hypermail 2.2.0 : Sun Aug 03 2008 - 10:12:05 UTC