mirror of https://github.com/i3/i3lock.git
clock: update help message & man page
parent
84fa982b5e
commit
b6ef811d7a
13
i3lock.1
13
i3lock.1
|
@ -23,12 +23,15 @@ i3lock \- improved screen locker
|
|||
.IR image.png \|]
|
||||
.RB [\|\-c
|
||||
.IR color \|]
|
||||
.RB [\|\-F
|
||||
.IR fgcolor \|]
|
||||
.RB [\|\-t\|]
|
||||
.RB [\|\-p
|
||||
.IR pointer\|]
|
||||
.RB [\|\-u\|]
|
||||
.RB [\|\-e\|]
|
||||
.RB [\|\-I\|]
|
||||
.RB [\|\-T\|]
|
||||
.RB [\|\-f\|]
|
||||
|
||||
.SH DESCRIPTION
|
||||
|
@ -93,6 +96,10 @@ Display the given PNG image instead of a blank screen.
|
|||
Turn the screen into the given color instead of white. Color must be given in 3-byte
|
||||
format: rrggbb (i.e. ff0000 is red).
|
||||
|
||||
.TP
|
||||
.BI \-F\ rrggbb \fR,\ \fB\-\-fgcolor= rrggbb
|
||||
Sets the color used for text.
|
||||
|
||||
.TP
|
||||
.B \-t, \-\-tiling
|
||||
If an image is specified (via \-i) it will display the image tiled all over the screen
|
||||
|
@ -116,6 +123,12 @@ another try. This can be useful if the XF86ScreenSaver key is used to
|
|||
put a laptop to sleep and bounce on resume or if you happen to wake up
|
||||
your computer with the enter key.
|
||||
|
||||
.TP
|
||||
.B \-T, \-\-time
|
||||
Makes
|
||||
.B i3lock
|
||||
draw the current time in the middle of the screen.
|
||||
|
||||
.TP
|
||||
.B \-f, \-\-show-failed-attempts
|
||||
Show the number of failed attempts, if any.
|
||||
|
|
4
i3lock.c
4
i3lock.c
|
@ -836,8 +836,8 @@ int main(int argc, char *argv[]) {
|
|||
show_failed_attempts = true;
|
||||
break;
|
||||
default:
|
||||
errx(EXIT_FAILURE, "Syntax: i3lock [-v] [-n] [-b] [-d] [-c color] [-u] [-p win|default]"
|
||||
" [-i image.png] [-t] [-e] [-I] [-f]"
|
||||
errx(EXIT_FAILURE, "Syntax: i3lock [-v] [-n] [-b] [-d] [-c bgcolor] [-F fgcolor] [-u] [-p win|default]"
|
||||
" [-i image.png] [-t] [-e] [-I] [-T] [-f]"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue