stumpwm-devel
[Top][All Lists]
Advanced

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

Re: [STUMP] [PATCH] Allow access to time without invoking external date


From: Ben Spencer
Subject: Re: [STUMP] [PATCH] Allow access to time without invoking external date
Date: Tue, 8 Mar 2011 08:07:22 +0000
User-agent: Mutt/1.5.20 (2009-06-14)

On Mon, Mar 07, 2011 at 08:51:50PM -0800, Matt Spear wrote:
> Yes...%d in the mode-line works for me...sorry I just started using
> stumpwm.  I think it may be worth applying the patch as it gives
> flexibility and helps hide some details from outside time.
> 
> Also it means I can do a time-based screenshot command cleanly:
> (defcommand sshot2 () ()
>             "Take a screenshot"
>             (run-shell-command (format nil "import
> /home/batman/~A.jpg" (time-format "%y-%m-%e-%H-%M-%S"))))
>
> PS.  I just noticed I missed a call in mode-line, I've attached a
> patch that has just that change.

Agreed.  Pushed, thanks :)

Ben



reply via email to

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