Commit Graph

12 Commits

Author SHA1 Message Date
earnestly 73e70bc00d doc: update sx version and date
Regroup SEE ALSO section manuals by their section number.
2021-07-06 23:30:41 +01:00
Earnestly 2742daede4 sx: further tuning the signal situation
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
2020-10-06 19:31:07 +01:00
Earnestly 41a6a9b372 doc: include examples and clarify usage
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
2019-02-06 18:54:34 +00:00
Earnestly d2919f5b62 doc: grammatical correction and clarification
This emphasises that the command need not have arguments.  Additionally
include a reference to Xwrapper.config(5) as mentioned in the NOTE.
2018-10-21 17:14:48 +01:00
Earnestly 069d745d44 doc: move notes to manual and clarify the synopsis
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.
2018-10-14 11:25:17 +01:00
Earnestly 887df364fe sx: use XDG_DATA_HOME for the authority
The authority file should not really be considered configuration data
especially in the context of backups which might want to exclude such
content.
2018-07-19 14:14:54 +01:00
Earnestly 015319b2d7 doc: manuals should not have empty lines 2017-12-09 19:51:53 +00:00
Earnestly 1b3506d21f doc: mention XDG_CONFIG_HOME environments 2017-12-08 17:18:15 +00:00
Earnestly 718add311c doc: clarify purpose and bump the manual date 2017-12-07 12:03:43 +00:00
Earnestly 60762a5487 doc: clarify how XAUTHORITY is used 2017-12-04 11:58:00 +00:00
Earnestly e08bc130c0 sx: use the default logfile
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.
2017-12-02 02:22:29 +00:00
Earnestly 161b8be6f5 introduce sx 2017-12-01 20:14:54 +00:00