ratpoison-devel
[Top][All Lists]
Advanced

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

Re: [RP] apologies in advance


From: Shawn Betts
Subject: Re: [RP] apologies in advance
Date: Wed Sep 10 16:20:16 2003
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

John Meacham <address@hidden> writes:

> 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               |
>         +-----------------------+

Hey nice one John! While this is basically M-x calendar in emacs, it
does show off ratpoison so I've put it in the doc/sample.ratpoisonrc
file (if that's alright with you).

Shawn




reply via email to

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