This commit removes the complication of trying to handle client PIDs as
doing so didn't provide any noticable gain. The main issue was that
both `wait' commands didn't wait on their respective PIDs while the
final cleanup wasn't called with both client and server PIDs and so
the server remained running due to -noreset.
The exit status of `sx' should again reflect that of the Xorg's
which may be useful for scripts.
Also slightly improves the comments on how Xorg handles USR1 signals.
Fixes https://github.com/Earnestly/sx/issues/19
Sometimes people encode logic into files such as Xinitrc which absorbs
command-line arguments that typically control which window manager or
desktop environment to start.
These examples demonstrate how they might do this with sxrc and other
suggestions for reusing ~/.Xinitrc
Since the README is not intended to be installed to the system it makes
sense to provide the NOTES section in the manual itself which is.
This also expands the SYNOPSIS section to indicate that the usage of sx
should work as a typical chain command.
There's not a lot of point in absorbing the xserver's log file when it
will just be less intuitive for those looking for it in the standard
location. Since the log is generated by Xorg and not sx, it only seems
reasonable.
This commit also renames xauthfile to xauthority for a little more
consistency with documentation and prior art.