[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [STUMP] couldn't create pipe: "Too many open files"
From: |
Shawn Betts |
Subject: |
Re: [STUMP] couldn't create pipe: "Too many open files" |
Date: |
Mon, 19 Dec 2011 11:43:29 -0500 |
> When I start up, everything works right. But eventually, after I'm not sure
> how long, the date and time disappears from the mode line. I copied my mode
> line settings from a .stumpwmrc I found online (sorry I don't remember
> exactly who originally posted it):
>
> ;; modeline format
> (setf *screen-mode-line-format*
> (list "[^B" '(:eval (run-shell-command "date '+%R, %F %a'|tr -d
> [:cntrl:]" t)) "^b]"
> " | %B"
> " | [^B%n^b] %W"))
Obviously the problem should be fixed but I should note that running a
shell command to format the date is not the best way to format the
date. Just use %d and customize *time-modeline-string*. See time.lisp
for details. Someone please correct me if I got that wrong!
-Shawn