doc: mention XDG_CONFIG_HOME environments

This commit is contained in:
Earnestly 2017-12-08 17:18:15 +00:00
parent 29953f64b7
commit 1b3506d21f
1 changed files with 16 additions and 6 deletions

22
sx.1
View File

@ -1,7 +1,7 @@
.TH sx 1 2017-12-07 sx .TH sx 1 2017-12-07 sx
.SH NAME .SH NAME
sx \- start an xserver sx \- start an xorg server
.SH SYNOPSIS .SH SYNOPSIS
.B sx .B sx
@ -30,30 +30,40 @@ used to secure
If this environment is not set then If this environment is not set then
.B sx .B sx
will create and use will create and use
.IR \%$XDG_CONFIG_HOME/sx/xauthority .B \%XDG_CONFIG_HOME/sx/xauthority
instead while also exporting this value to instead while also exporting this value to
.BR XAUTHORITY . .BR XAUTHORITY .
.TP
.B XDG_CONFIG_HOME
The directory used when searching for
.I sxrc
and storing
.IR xauthority .
.B \%HOME/.config
will be used if
.B XDG_CONFIG_HOME
is not set.
.SH FILES .SH FILES
.TP .TP
.BR $XDG_CONFIG_HOME/sx/sxrc " " "" ( $HOME/.config/sx/sxrc ) .B XDG_CONFIG_HOME/sx/sxrc
The default client started by The default client started by
.BR sx . .BR sx .
This file must be executable. This file must be executable.
.TP .TP
.BR $XDG_CONFIG_HOME/sx/xauthority " " "" ( $HOME/.config/sx/xauthority ) .B XDG_CONFIG_HOME/sx/xauthority
The default authority used by The default authority used by
.B sx .B sx
if an alternative file is not provided with if an alternative file is not provided with
.BR $XAUTHORITY . .BR XAUTHORITY .
.SH SOURCE .SH SOURCE
.UR https://github.com/Earnestly/sx .UR https://github.com/Earnestly/sx
.UE .UE
.SH SEE ALSO .SH SEE ALSO
.BR Xorg (1),
.BR xinit (1), .BR xinit (1),
.BR startx (1), .BR startx (1),
.BR Xserver (1),
.BR Xsecurity (7), .BR Xsecurity (7),
.BR X (7) .BR X (7)