> Well, if your status refresh is not to fast, you could patch the
> dwm source in client.c:manage(), at the end you could add:
>
> else {
> strcpy(stext, "new client in invisible tag");
> drawstatus();
> }
>
> Then you'd see that message in the status bar until the next
> write operation on stdin occures... if a client shows up which
> isn't visible.
Finally I'm using stdout to get the required information from dwm
(invisible windows being managed) See attached patch.
This is a simplified version of my startup script:
while(true)
do
uptime
sleep XX
if [ -f $STATUS ]
then
cat $STATUS
fi
done | ./dwm | while read LINE
do
echo dwm: $LINE
# do something with line
# like writing it to $STATUS
# or writing down current date to sumup total work time...
done
-- Julián
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:30:28 UTC