Anselm R. Garbe wrote:
On Thu, Oct 11, 2007 at 01:21:14PM +0200, [EMAIL PROTECTED] wrote:
In my .xinitrc

   mkfifo $HOME/pipe
   echo "test"> $HOME/pipe &
   exec /usr/local/bin/dwm < $HOME/pipe

Then i open an xterm

   echo "test" > $HOME/pipe

"test" does not appear in the statusbar
What am I missing?

echo sends end of file (EOF) after completion.

Regards,
Ok, now it works

.xinitrc
   mkfifo $HOME/pipe
   while [ 0 ]
   do
       echo "test"
       sleep 1
   done > $HOME/pipe &
   exec /usr/local/bin/dwm < $HOME/pipe*
*

xterm
   echo "toast" > $HOME/pipe

"toast" appears in status bar for a
moment and then is replaced back by test.

Wyrmskull





Reply via email to