Re: [dwm] quitting dwm-in-pipe

From: David Tweed <tweed314_AT_yahoo.co.uk>
Date: Wed, 18 Oct 2006 17:54:27 +0000 (GMT)

Tako rzecze David Tweed (w li¶cie z 2006-10-18, 17:29): > #!/bin/sh > #-*-.sh-*- > > while true > do > cat "/home/sis05dst/.labels" > sleep 60 > done | /home/sis05dst/BIN/dwm |It will eventually exit, you just have to wait for the sleep 60 to time |out. You may want to use a smaller value, to not have to wait long. I've just tried an experiment using an xclock and quitting (just to be sure something crazy like the system clock going screwy isn't happening) and ten minutes according to that after quitting the observed symptom is that I'm still in X, just without a window manager. I wouldn't have thought that various drift factors could expand 60 seconds out to 10 minutes? This is with bash 3.1.7(1) on x86_64 Linux. cheers, dave tweed Send instant messages to your online friends http://uk.messenger.yahoo.com
Received on Wed Oct 18 2006 - 19:54:58 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:32:06 UTC