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, <dwm+help_AT_suckless.org 
> <mailto:dwm%2Bhelp_AT_suckless.org>> wrote:
>
>     Welcome! You have been subscribed to the
>
>     dwm_AT_suckless.org <mailto:dwm_AT_suckless.org>
>
>     mailinglist.
>
>     To unsubscribe send a message to:
>
>     dwm+unsubscribe_AT_suckless.org <mailto:dwm%2Bunsubscribe_AT_suckless.org>
>
>     And for help send a message to:
>
>     dwm+help_AT_suckless.org <mailto:dwm%2Bhelp_AT_suckless.org>
>
>
>
>
>
> -- 
> Luca Postregna
> Via Postregna 6
> 33040 Stregna, UD - Italy
>
> Tel.       +393381587782
>
Received on Tue Jan 13 2009 - 17:04:26 UTC
This archive was generated by hypermail 2.2.0 : Tue Jan 13 2009 - 17:12:06 UTC