2011/6/28 Thuban <thuban_AT_singularity.fr>:
> Hello
> I can't find mails about exiting dwm properly, in order to kill every
> process launched before dwm when using a .xinitrc file as example. Can
> you help me finding it please?
> thank you
There was a thread about properly terminating the loop that updates
your status bar [1].
If you want to kill everything started in .xinitrc you could remember
every PID to kill them all at the end:
xbindkeys &
PID1=$!
wicd-client &
PID2=$!
dwm
kill $PID1 $PID2
You would have to be sure that the programs keep their PID and are not
replaced by child processes. Otherwise you would kill random processes
in the end.
[1] http://thread.gmane.org/gmane.comp.misc.suckless/5391
-- Thomas DahmsReceived on Tue Jun 28 2011 - 20:49:28 CEST
This archive was generated by hypermail 2.2.0 : Tue Jun 28 2011 - 21:00:07 CEST