Xavier wrote:
But "man tail" is your friend :
-s, --sleep-interval=S
with -f, sleep for approximately S seconds (default 1.0) between iterations.


method 1)
   while [ 0 ]; do sleep 1d; done > $HOME/pipe &
   exec /usr/local/bin/dwm < $HOME/pipe
method 2)
   tail -f -s 0.1 $HOME/pipe | exec/usr/local/bin/dwm


Still prefer the first method. I have an empty loop cycling instead of tail.
I am still working on the idea of sending commands to dwm at runtime, as
slowly as my non-existent C skills allow.

   echo "normbgcolor #eeeeee" > pipe


Wyrmskull


Reply via email to