Re: [dwm] A clock on the status bar

From: Sander van Dijk <>
Date: Sun, 10 Jun 2007 15:18:37 +0200

On 6/10/07, Petar Petrov <> wrote:
> Hi guys,
> thank you for the great job and nice ideas in dwm.
> I'll finally get rid of KDE.
> I'm attaching a patch that adds a clock on the status bar in case any
> of you is interested. Will be happy to see it in the main line dwm,
> but it's up to you.

That's what dwm reads stdin for. Whatever you feed it, it'll display.
For instance, starting it like this:

while true
    sleep 1
done | dwm

will make it display a clock (and the date) in the statusbar. No patch needed.

Greetings, Sander.
Received on Sun Jun 10 2007 - 15:18:38 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:44:10 UTC