Kurt Maier wrote:
You mentioned calling dwm like this:

mkfifo dwm_pipe
dwm < dwm_pipe > dwm_pipe
Sorry, this snippet was just ment as a Prototype (You have to build a .xinitrc or .xsession from that). Use it like this:

#!/bin/sh

PIPE=$HOME/.dwm.status

[ -e $PIPE ] || mkfifo $PIPE
[ -p $PIPE ] || exit

dwm < $PIPE > $PIPE &

# because open on a fifo blocks and dwm hangs
# you have to set an inital value
echo mydwm > $PIPE

wait

Regards, Manuel

Reply via email to