ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] apologies in advance


From: John Meacham
Subject: Re: [RP] apologies in advance
Date: Tue Sep 9 17:13:33 2003
User-agent: Mutt/1.4.1i

On Tue, Sep 09, 2003 at 05:57:23PM -0500, Joe Corneli wrote:
> I just had an idea that rather doubt you'll find appealing: what if
> "<command> a" could display a little xclock in the message area?
> 
> This idea seems highly reminiscent of some other ideas that have been

I have this in my .ratpoisonrc

bind a exec ratpoison -d :0.0 -c "echo `date +'%r - %A %n    %D - %B'`  `cal | 
tail +2 | sed -e 's/^Su/\n\n Su/' -e 's/.*/ & /' -e \"s/\ $(date +%e)\ 
/\<$(date +%e)\>/\"`"

it produces output like the following in the message window, very handy:
        +-----------------------+
        |05:05:24 PM - Tuesday  |
        |   09/09/03 - September|
        |                       |
        |Su Mo Tu We Th Fr Sa   |
        |    1  2  3  4  5  6   |
        | 7  8< 9>10 11 12 13   |
        |14 15 16 17 18 19 20   |
        |21 22 23 24 25 26 27   |
        |28 29 30               |
        +-----------------------+

-- 
---------------------------------------------------------------------------
John Meacham - California Institute of Technology, Alum. - address@hidden
---------------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]