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 \|]
|
.IR image.png \|]
|
||||||
.RB [\|\-c
|
.RB [\|\-c
|
||||||
.IR color \|]
|
.IR color \|]
|
||||||
|
.RB [\|\-F
|
||||||
|
.IR fgcolor \|]
|
||||||
.RB [\|\-t\|]
|
.RB [\|\-t\|]
|
||||||
.RB [\|\-p
|
.RB [\|\-p
|
||||||
.IR pointer\|]
|
.IR pointer\|]
|
||||||
.RB [\|\-u\|]
|
.RB [\|\-u\|]
|
||||||
.RB [\|\-e\|]
|
.RB [\|\-e\|]
|
||||||
.RB [\|\-I\|]
|
.RB [\|\-I\|]
|
||||||
|
.RB [\|\-T\|]
|
||||||
.RB [\|\-f\|]
|
.RB [\|\-f\|]
|
||||||
|
|
||||||
.SH DESCRIPTION
|
.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
|
Turn the screen into the given color instead of white. Color must be given in 3-byte
|
||||||
format: rrggbb (i.e. ff0000 is red).
|
format: rrggbb (i.e. ff0000 is red).
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.BI \-F\ rrggbb \fR,\ \fB\-\-fgcolor= rrggbb
|
||||||
|
Sets the color used for text.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B \-t, \-\-tiling
|
.B \-t, \-\-tiling
|
||||||
If an image is specified (via \-i) it will display the image tiled all over the screen
|
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
|
put a laptop to sleep and bounce on resume or if you happen to wake up
|
||||||
your computer with the enter key.
|
your computer with the enter key.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B \-T, \-\-time
|
||||||
|
Makes
|
||||||
|
.B i3lock
|
||||||
|
draw the current time in the middle of the screen.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B \-f, \-\-show-failed-attempts
|
.B \-f, \-\-show-failed-attempts
|
||||||
Show the number of failed attempts, if any.
|
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;
|
show_failed_attempts = true;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
errx(EXIT_FAILURE, "Syntax: i3lock [-v] [-n] [-b] [-d] [-c color] [-u] [-p win|default]"
|
errx(EXIT_FAILURE, "Syntax: i3lock [-v] [-n] [-b] [-d] [-c bgcolor] [-F fgcolor] [-u] [-p win|default]"
|
||||||
" [-i image.png] [-t] [-e] [-I] [-f]"
|
" [-i image.png] [-t] [-e] [-I] [-T] [-f]"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue