while : ; do
       ( while : ; do
               date ; sleep 1
       done ) | dwm
done

$ sudo cp dwm /usr/bin/dwm
$ pkill dwm

Luca wrote:
Is there a way to restart dwm after recompiling source without closing clients?
This is my current .xsession

xsetroot -solid black &
xrandr -s 1024x768 &

uxterm &
firefox &

while true; do
  xsetroot -name "`date '+%a %Y%m%d %H:%M'`"
  sleep 1
done &

exec /home/lucapost/usr/bin/dwm > /dev/null

Thanks, Luca.


On Tue, Jan 13, 2009 at 5:37 PM, <[email protected] <mailto:dwm%[email protected]>> wrote:

    Welcome! You have been subscribed to the

    [email protected] <mailto:[email protected]>

    mailinglist.

    To unsubscribe send a message to:

    [email protected] <mailto:dwm%[email protected]>

    And for help send a message to:

    [email protected] <mailto:dwm%[email protected]>





--
Luca Postregna
Via Postregna 6
33040 Stregna, UD - Italy

Tel.       +393381587782


Reply via email to