[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fwd: [STUMP] [PATCH] Allow access to time without invoking external
From: |
Ben Spencer |
Subject: |
Re: Fwd: [STUMP] [PATCH] Allow access to time without invoking external date |
Date: |
Mon, 7 Mar 2011 07:41:28 +0000 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Sun, Mar 06, 2011 at 10:53:00AM -0800, Matt Spear wrote:
> Sorry, wasn't clear. I wanted to have:
> (setf *screen-mode-line-format*
> (list "[^B%n^b] %W ^> [%b] ^3*"
> '(:eval (stumpwm:time-format "%a %m/%e/%Y %I:%M%p"))))
>
> so that I didn't have to invoke any external programs in the modeline
> update. I've included the patch for fixing the time.lisp to use the
> new function.
Can't you just use %d in the modeline string and then set
*time-modeline-string* appropriately?
The patch looks fine and reduces redundancy in time.lisp so happy to
apply it if it is useful.
Ben