Re: [dwm] Reloading running dwm - reload patch

From: Oliver Heins <olli_AT_sopos.org>
Date: Wed, 21 Mar 2007 17:40:24 +0100

"Sander van Dijk" <a.h.vandijk_AT_gmail.com>
writes:
> Probably like:
>
> while true
> do
> while true
> do
> cat $DWM_PIPE
> done | /usr/bin/dwm
> done

No, this doesn't work as while quitting dwm the inner while loop isn't
left. Anyway, I found a solution myself. This does work:

while true
    do
    cat $DWM_PIPE
done | while true; do /usr/bin/dwm; done

Regards,
 olli

-- 
http://www.sopos.org/olli/      GnuPG-Key: gpg --recv-keys 0x9A00D827
GnuPG-Fingerprint: F27A BA8C 1CFB B905 65A8  2544 0F07 B675 9A00 D827
NP: SS Decontrol - Police Beat
Received on Wed Mar 21 2007 - 17:41:52 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:39:50 UTC