2009-03-11 18:44:39 -04:00
|
|
|
|
.de Vb \" Begin verbatim text
|
|
|
|
|
.ft CW
|
|
|
|
|
.nf
|
|
|
|
|
.ne \\$1
|
|
|
|
|
..
|
|
|
|
|
.de Ve \" End verbatim text
|
|
|
|
|
.ft R
|
|
|
|
|
.fi
|
|
|
|
|
..
|
|
|
|
|
|
2022-01-10 12:34:12 -05:00
|
|
|
|
.TH i3lock-color 1 "JAN 2022" Linux "User Manuals"
|
2009-03-11 18:44:39 -04:00
|
|
|
|
|
|
|
|
|
.SH NAME
|
2016-02-18 12:54:35 -05:00
|
|
|
|
i3lock-color \- improved screen locker
|
2009-03-11 18:44:39 -04:00
|
|
|
|
|
|
|
|
|
.SH SYNOPSIS
|
2017-05-30 16:46:43 -04:00
|
|
|
|
.B i3lock
|
2009-05-10 06:48:16 -04:00
|
|
|
|
.RB [\|\-v\|]
|
|
|
|
|
.RB [\|\-n\|]
|
|
|
|
|
.RB [\|\-b\|]
|
2009-06-27 17:06:44 -04:00
|
|
|
|
.RB [\|\-i
|
2010-07-16 11:56:15 -04:00
|
|
|
|
.IR image.png \|]
|
2009-07-31 15:35:40 -04:00
|
|
|
|
.RB [\|\-c
|
|
|
|
|
.IR color \|]
|
2009-08-02 13:59:16 -04:00
|
|
|
|
.RB [\|\-t\|]
|
2010-07-16 12:15:31 -04:00
|
|
|
|
.RB [\|\-p
|
2010-07-02 18:24:50 -04:00
|
|
|
|
.IR pointer\|]
|
2012-03-15 08:32:56 -04:00
|
|
|
|
.RB [\|\-u\|]
|
2013-08-26 17:39:38 -04:00
|
|
|
|
.RB [\|\-e\|]
|
2014-07-24 16:32:07 -04:00
|
|
|
|
.RB [\|\-f\|]
|
2019-04-01 16:30:47 -04:00
|
|
|
|
.RB [\|\-m\|]
|
2009-03-11 18:44:39 -04:00
|
|
|
|
|
|
|
|
|
.SH DESCRIPTION
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.B i3lock\-color
|
2010-07-16 11:56:15 -04:00
|
|
|
|
is a simple screen locker like slock. After starting it, you will see a white
|
|
|
|
|
screen (you can configure the color/an image). You can return to your screen by
|
2010-07-20 19:45:11 -04:00
|
|
|
|
entering your password.
|
2009-03-11 18:44:39 -04:00
|
|
|
|
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.SH FEATURES
|
2013-08-31 08:00:16 -04:00
|
|
|
|
.IP \[bu] 2
|
2020-04-16 18:53:57 -04:00
|
|
|
|
i3lock forks, so you can combine it with an alias to suspend to RAM
|
2021-05-27 19:51:09 -04:00
|
|
|
|
(run "i3lock && echo mem > /sys/power/state" to get a locked screen after waking
|
|
|
|
|
up your computer from suspend to RAM)
|
2013-08-31 08:00:16 -04:00
|
|
|
|
.IP \[bu]
|
2021-05-27 19:51:09 -04:00
|
|
|
|
You can specify either a background color or a PNG image which will be displayed
|
|
|
|
|
while your screen is locked.
|
2013-08-31 08:00:16 -04:00
|
|
|
|
.IP \[bu]
|
|
|
|
|
You can specify whether i3lock should bell upon a wrong password.
|
|
|
|
|
.IP \[bu]
|
|
|
|
|
i3lock uses PAM and therefore is compatible with LDAP, etc.
|
2009-03-11 18:44:39 -04:00
|
|
|
|
|
2009-05-10 06:48:16 -04:00
|
|
|
|
.SH OPTIONS
|
|
|
|
|
.TP
|
|
|
|
|
.B \-v, \-\-version
|
|
|
|
|
Display the version of your
|
2009-03-11 18:44:39 -04:00
|
|
|
|
.B i3lock
|
2009-05-10 06:48:16 -04:00
|
|
|
|
|
|
|
|
|
.TP
|
|
|
|
|
.B \-n, \-\-nofork
|
|
|
|
|
Don't fork after starting.
|
|
|
|
|
|
|
|
|
|
.TP
|
|
|
|
|
.B \-b, \-\-beep
|
|
|
|
|
Enable beeping. Be sure to not do this when you are about to annoy other people,
|
|
|
|
|
like when opening your laptop in a boring lecture.
|
|
|
|
|
|
2011-12-28 14:28:18 -05:00
|
|
|
|
.TP
|
2020-03-09 13:27:54 -04:00
|
|
|
|
.B \-u, \-\-no\-unlock\-indicator
|
2013-08-31 08:00:16 -04:00
|
|
|
|
Disable the unlock indicator. i3lock will by default show an unlock indicator
|
2011-12-28 14:28:18 -05:00
|
|
|
|
after pressing keys. This will give feedback for every keypress and it will
|
|
|
|
|
show you the current PAM state (whether your password is currently being
|
|
|
|
|
verified or whether it is wrong).
|
|
|
|
|
|
2009-06-27 17:06:44 -04:00
|
|
|
|
.TP
|
2011-09-25 08:34:26 -04:00
|
|
|
|
.BI \-i\ path \fR,\ \fB\-\-image= path
|
2010-07-16 14:55:20 -04:00
|
|
|
|
Display the given PNG image instead of a blank screen.
|
2009-06-27 17:06:44 -04:00
|
|
|
|
|
2019-05-20 08:20:55 -04:00
|
|
|
|
.TP
|
2019-05-23 19:07:51 -04:00
|
|
|
|
.BI \fB\-\-raw= format
|
2021-05-27 19:51:09 -04:00
|
|
|
|
Read the image given by \-\-image as a raw image instead of PNG. The argument is
|
|
|
|
|
the image's format as <width>x<height>:<pixfmt>.
|
|
|
|
|
The supported pixel formats are:
|
2019-05-23 21:03:48 -04:00
|
|
|
|
\'native', 'rgb', 'xrgb', 'rgbx', 'bgr', 'xbgr', and 'bgrx'.
|
2019-05-20 08:20:55 -04:00
|
|
|
|
The "native" pixel format expects a pixel as a 32-bit (4-byte) integer in
|
2021-05-27 19:51:09 -04:00
|
|
|
|
the machine's native endianness, with the upper 8 bits unused.
|
|
|
|
|
Red, green and blue are stored in the remaining bits, in that order.
|
2019-09-22 20:00:56 -04:00
|
|
|
|
|
|
|
|
|
.BR Example:
|
|
|
|
|
.Vb 6
|
|
|
|
|
\& --raw=1920x1080:rgb
|
|
|
|
|
.Ve
|
|
|
|
|
You can use ImageMagick’s
|
|
|
|
|
.IR convert(1)
|
|
|
|
|
program to feed raw images into i3lock:
|
|
|
|
|
|
|
|
|
|
.Vb 6
|
|
|
|
|
\& convert wallpaper.jpg RGB:- | i3lock --raw 3840x2160:rgb --image /dev/stdin
|
|
|
|
|
.Ve
|
|
|
|
|
This allows you to load a variety of image formats without i3lock having to
|
|
|
|
|
support each one explicitly.
|
2020-03-15 22:05:28 -04:00
|
|
|
|
You can also use it to resize images to the screen ratio:
|
|
|
|
|
|
|
|
|
|
.Vb 6
|
|
|
|
|
\& convert wallpaper.jpg -resize $(xdpyinfo | grep dimensions | sed -r 's/^[^0-9]*([0-9]+x[0-9]+).*$/\1/') RGB:- | i3lock --raw $(xdpyinfo | grep dimensions | sed -r 's/^[^0-9]*([0-9]+x[0-9]+).*$/\1/'):rgb --image /dev/stdin
|
|
|
|
|
.Ve
|
2020-04-16 18:53:57 -04:00
|
|
|
|
Note that $(xdpyinfo | grep dimensions | sed -r 's/^[^0-9]*([0-9]+x[0-9]+).*$/\1/')
|
|
|
|
|
gets you the current screen dimensions in the wxh (e.g. 1920x1080) format.
|
2020-03-15 22:05:28 -04:00
|
|
|
|
|
2009-07-31 15:35:40 -04:00
|
|
|
|
.TP
|
2020-04-11 15:44:02 -04:00
|
|
|
|
.BI \-c\ rrggbbaa \fR,\ \fB\-\-color= rrggbbaa
|
2021-05-27 19:51:09 -04:00
|
|
|
|
Turn the screen into the given color instead of white. Color must be given in
|
|
|
|
|
4-byte format: rrggbbaa (i.e. ff0000ff is opaque red).
|
|
|
|
|
Use the last byte for alpha. Setting this below FF (i.e. ff000088) will allow
|
|
|
|
|
your screen to be shown translucently if you use a compositor (e.g. compton,
|
|
|
|
|
xcompmgr).
|
2009-07-31 15:35:40 -04:00
|
|
|
|
|
2009-08-02 13:59:16 -04:00
|
|
|
|
.TP
|
2010-07-16 14:36:11 -04:00
|
|
|
|
.B \-t, \-\-tiling
|
2021-05-27 19:51:09 -04:00
|
|
|
|
If an image is specified (via \-i) it will display the image tiled all over the
|
2021-06-04 19:48:23 -04:00
|
|
|
|
screen.
|
|
|
|
|
|
|
|
|
|
Note: For all image options, with a multi-monitor setup, the image is visible on
|
|
|
|
|
all screens.
|
2020-04-18 06:54:53 -04:00
|
|
|
|
|
|
|
|
|
.TP
|
|
|
|
|
.B \-C, \-\-centered
|
2021-05-27 19:51:09 -04:00
|
|
|
|
If an image is specified (via \-i) it will display the image centered on the
|
2021-06-04 19:48:23 -04:00
|
|
|
|
screen.
|
2009-08-02 13:59:16 -04:00
|
|
|
|
|
2021-05-30 18:41:44 -04:00
|
|
|
|
.TP
|
|
|
|
|
.B \-F, \-\-fill
|
|
|
|
|
If an image is specified (via \-i) it will scale the image until it fills the
|
|
|
|
|
screen. A portion of the image will be cropped.
|
|
|
|
|
|
|
|
|
|
.TP
|
|
|
|
|
.B \-M, \-\-max
|
|
|
|
|
If an image is specified (via \-i) it will scale the image until either the
|
|
|
|
|
width or the height fits the screen without being cropped. The border color
|
2021-06-04 19:48:23 -04:00
|
|
|
|
can be set via \-c.
|
2021-05-30 18:41:44 -04:00
|
|
|
|
|
|
|
|
|
.TP
|
|
|
|
|
.B \-L, \-\-scale
|
|
|
|
|
If an image is specified (via \-i) it will stretch the image until both the
|
|
|
|
|
width and the height fits the screen.
|
|
|
|
|
|
2010-07-02 18:24:50 -04:00
|
|
|
|
.TP
|
2011-09-25 08:34:26 -04:00
|
|
|
|
.BI \-p\ win|default \fR,\ \fB\-\-pointer= win|default
|
2010-07-02 18:24:50 -04:00
|
|
|
|
If you specify "default",
|
|
|
|
|
.B i3lock
|
2013-08-31 08:00:16 -04:00
|
|
|
|
does not hide your mouse pointer. If you specify "win",
|
2010-07-02 18:24:50 -04:00
|
|
|
|
.B i3lock
|
2013-08-31 08:00:16 -04:00
|
|
|
|
displays a hardcoded Windows-Pointer (thus enabling you to mess with your
|
|
|
|
|
friends by using a screenshot of a Windows desktop as a locking-screen).
|
2010-07-02 18:24:50 -04:00
|
|
|
|
|
2013-08-26 17:39:38 -04:00
|
|
|
|
.TP
|
2020-03-09 13:27:54 -04:00
|
|
|
|
.B \-e, \-\-ignore\-empty\-password
|
2021-05-27 19:51:09 -04:00
|
|
|
|
When an empty password is provided by the user, do not validate it. Without this
|
|
|
|
|
option, the empty password will be provided to PAM and, if invalid, the user
|
|
|
|
|
will have to wait a few seconds before 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.
|
2013-08-26 17:39:38 -04:00
|
|
|
|
|
2014-07-24 16:32:07 -04:00
|
|
|
|
.TP
|
2020-03-09 13:27:54 -04:00
|
|
|
|
.B \-f, \-\-show\-failed\-attempts
|
2014-07-24 16:32:07 -04:00
|
|
|
|
Show the number of failed attempts, if any.
|
|
|
|
|
|
2014-12-27 15:54:41 -05:00
|
|
|
|
.TP
|
|
|
|
|
.B \-\-debug
|
|
|
|
|
Enables debug logging.
|
2014-12-27 16:19:07 -05:00
|
|
|
|
Note, that this will log the password used for authentication to stdout.
|
2014-12-27 15:54:41 -05:00
|
|
|
|
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.SH i3lock-color OPTIONS
|
2017-05-30 16:46:43 -04:00
|
|
|
|
.TP
|
2020-07-21 21:13:03 -04:00
|
|
|
|
.B \-S number, \-\-screen=number
|
2021-05-27 19:51:09 -04:00
|
|
|
|
Specifies which display to draw the unlock indicator and clock on. By default,
|
|
|
|
|
they'll be placed on every screen.
|
2017-05-30 16:46:43 -04:00
|
|
|
|
Note that this number is zero indexed. The ordering is dependent on libxinerama.
|
|
|
|
|
|
|
|
|
|
.TP
|
2020-07-21 21:13:03 -04:00
|
|
|
|
.B \-B sigma, \-\-blur=sigma
|
2017-05-30 16:46:43 -04:00
|
|
|
|
Captures the screen and blurs it using the given sigma (radius).
|
|
|
|
|
Images may still be overlaid over the blurred screenshot.
|
2021-05-27 19:51:09 -04:00
|
|
|
|
As an alternative to this option, you could specify a translucent background
|
|
|
|
|
color (-c option) with a fully transparent or translucent color, and use a
|
|
|
|
|
compositor to perform blurring (e.g. compton, picom).
|
2017-11-19 15:25:25 -05:00
|
|
|
|
|
2017-11-19 15:49:20 -05:00
|
|
|
|
.TP
|
|
|
|
|
.B \-k, \-\-clock, \-\-force\-clock
|
2021-05-27 19:51:09 -04:00
|
|
|
|
Displays the clock. \-\-force\-clock also displays the clock when there's
|
|
|
|
|
indicator text (useful for when the clock is not positioned with the indicator).
|
2017-11-19 15:49:20 -05:00
|
|
|
|
|
2017-05-30 19:12:44 -04:00
|
|
|
|
.TP
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.B \-\-indicator
|
|
|
|
|
Forces the indicator to always be visible, instead of only showing on activity.
|
2020-06-08 09:27:09 -04:00
|
|
|
|
|
2017-05-30 16:46:43 -04:00
|
|
|
|
.TP
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.B \-\-radius
|
|
|
|
|
The radius of the circle. Defaults to 90.
|
2017-05-30 16:46:43 -04:00
|
|
|
|
|
|
|
|
|
.TP
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.B \-\-ring\-width
|
|
|
|
|
The width of the ring unlock indicator. Defaults to 7.0.
|
2017-05-30 16:46:43 -04:00
|
|
|
|
|
|
|
|
|
.TP
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.B \-\-{inside, ring}\-color=rrggbbaa
|
2021-05-28 18:08:48 -04:00
|
|
|
|
Sets the idle color for the interior circle and ring. Note: use individual
|
|
|
|
|
options per element unless the shell supports brace expansion (in which case
|
|
|
|
|
remove the spaces inside the curly braces).
|
2017-05-30 16:46:43 -04:00
|
|
|
|
|
|
|
|
|
.TP
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.B \-\-{inside, ring}ver\-color=rrggbbaa
|
|
|
|
|
Sets the interior circle and ring color while the password is being verified.
|
2017-05-30 16:46:43 -04:00
|
|
|
|
|
|
|
|
|
.TP
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.B \-\-{inside, ring}wrong\-color=rrggbbaa
|
|
|
|
|
Sets the interior circle and ring color for during incorrect password flashes.
|
2017-05-30 16:46:43 -04:00
|
|
|
|
|
|
|
|
|
.TP
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.B \-\-line\-color=rrggbbaa
|
|
|
|
|
Sets the color for the line separating the inside circle and the outer ring.
|
2017-05-30 16:46:43 -04:00
|
|
|
|
|
|
|
|
|
.TP
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.B \-\-line\-uses\-{inside, ring}
|
2021-05-28 10:11:35 -04:00
|
|
|
|
Overrides \-\-line\-color. The line will match the {inside, ring} color.
|
2021-05-27 19:51:09 -04:00
|
|
|
|
Note: these two options conflict with each other.
|
2017-05-30 16:46:43 -04:00
|
|
|
|
|
|
|
|
|
.TP
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.B \-\-{key, bs}hl\-color=rrggbbaa
|
|
|
|
|
Sets the color of highlight arcs on the ring upon keypress and backspace.
|
2017-05-30 16:46:43 -04:00
|
|
|
|
|
|
|
|
|
.TP
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.B \-\-separator\-color=rrggbbaa
|
|
|
|
|
Sets the color of the seperators at both ends of the highlight arcs on the ring.
|
2017-05-30 16:46:43 -04:00
|
|
|
|
|
|
|
|
|
.TP
|
2021-05-28 08:29:12 -04:00
|
|
|
|
.B \-\-{verif, wrong, modif}\-color=rrggbbaa
|
2021-05-27 19:51:09 -04:00
|
|
|
|
Sets the color of the status text while verifying and when password is wrong.
|
2017-05-30 16:46:43 -04:00
|
|
|
|
|
|
|
|
|
.TP
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.B \-\-{layout, time, date, greeter}\-color=rrggbbaa
|
|
|
|
|
Sets text colors.
|
2017-05-30 16:46:43 -04:00
|
|
|
|
|
2022-01-10 12:34:12 -05:00
|
|
|
|
.TP
|
|
|
|
|
.B \-\-keylayout mode
|
|
|
|
|
Displays the keylayout. Positionable similar to date, time, and indicator.
|
|
|
|
|
Modes are as follows:
|
|
|
|
|
.RS
|
|
|
|
|
.IP \[bu] 2
|
|
|
|
|
0 - Displays the full string returned by the query, i.e. "English (US)"
|
|
|
|
|
.IP \[bu]
|
|
|
|
|
1 - Displays up until the first parenthesis, i.e. "English"
|
|
|
|
|
.IP \[bu]
|
|
|
|
|
2 - Displays just the contents of the parenthesis, i.e. "US"
|
|
|
|
|
.RE
|
|
|
|
|
|
|
|
|
|
.B For all following -str or -text options, some control characters
|
|
|
|
|
.B (i.e. \\\\n, \\\\t) are supported. See \fBCONTROL CHARACTERS\fR
|
|
|
|
|
.B for more details.
|
|
|
|
|
|
2017-05-30 16:46:43 -04:00
|
|
|
|
.TP
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.B \-\-time\-str="%H:%M:%S"
|
|
|
|
|
Sets the format used for generating the time string.
|
|
|
|
|
See strftime(3) for a full list of format specifiers.
|
2017-05-30 16:46:43 -04:00
|
|
|
|
|
|
|
|
|
.TP
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.B \-\-date\-str="%A, %m %Y"
|
|
|
|
|
Sets the format used for generating the date string.
|
2018-01-23 12:28:29 -05:00
|
|
|
|
|
|
|
|
|
.TP
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.B \-\-verif\-text="verifying…"
|
|
|
|
|
Sets the string to be shown while verifying the password/input/key/etc.
|
2018-01-23 12:28:29 -05:00
|
|
|
|
|
|
|
|
|
.TP
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.B \-\-wrong\-text="wrong!"
|
|
|
|
|
Sets the string to be shown upon entering an incorrect password.
|
2017-05-30 16:46:43 -04:00
|
|
|
|
|
|
|
|
|
.TP
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.B \-\-noinput\-text="no input"
|
|
|
|
|
Sets the string to be shown upon pressing backspace without anything to delete.
|
2017-05-30 16:46:43 -04:00
|
|
|
|
|
|
|
|
|
.TP
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.B \-\-lock\-text="locking…"
|
|
|
|
|
Sets the string to be shown while acquiring pointer and keyboard focus.
|
2017-05-30 16:46:43 -04:00
|
|
|
|
|
|
|
|
|
.TP
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.B \-\-lockfailed\-text="lock failed!"
|
|
|
|
|
Sets the string to be shown after failing to acquire pointer and keyboard focus.
|
2017-05-30 16:46:43 -04:00
|
|
|
|
|
2017-11-28 09:59:21 -05:00
|
|
|
|
.TP
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.B \-\-greeter\-text=""
|
|
|
|
|
Sets the greeter text.
|
|
|
|
|
|
|
|
|
|
.TP
|
|
|
|
|
.B \-\-no\-modkey\-text
|
|
|
|
|
Hides the modkey indicator (Num, Caps Lock ...)
|
|
|
|
|
|
|
|
|
|
.TP
|
|
|
|
|
.B \-\-{time, date, layout, verif, wrong, modif, greeter}\-align
|
|
|
|
|
Sets the text alignment of the time, date, keylayout, verification, wrong,
|
|
|
|
|
modifier and greeter texts.
|
2017-11-28 09:59:21 -05:00
|
|
|
|
.RS
|
2021-06-04 19:48:23 -04:00
|
|
|
|
.IP \[bu] 2
|
2017-11-28 09:59:21 -05:00
|
|
|
|
0 - centered (default)
|
2021-06-04 19:48:23 -04:00
|
|
|
|
.IP \[bu]
|
2017-11-28 09:59:21 -05:00
|
|
|
|
1 - left aligned
|
2021-06-04 19:48:23 -04:00
|
|
|
|
.IP \[bu]
|
2017-11-28 09:59:21 -05:00
|
|
|
|
2 - right aligned
|
|
|
|
|
.RE
|
|
|
|
|
|
2017-05-30 16:46:43 -04:00
|
|
|
|
.TP
|
2021-05-28 08:29:12 -04:00
|
|
|
|
.B \-\-{time, date, layout, verif, wrong, greeter, modif}outline\-color=rrggbbaa
|
2021-05-27 19:51:09 -04:00
|
|
|
|
Sets the color of the outlines.
|
2018-01-23 12:28:29 -05:00
|
|
|
|
|
2017-05-30 16:46:43 -04:00
|
|
|
|
.TP
|
2020-03-09 13:27:54 -04:00
|
|
|
|
.B \-\-{time, date, layout, verif, wrong, greeter}\-font=sans\-serif
|
2018-01-23 12:28:29 -05:00
|
|
|
|
Sets the font used to render various strings.
|
2017-05-30 16:46:43 -04:00
|
|
|
|
|
|
|
|
|
.TP
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.B \-\-{time, date, layout, verif, wrong, greeter}\-size=number
|
2018-01-23 12:28:29 -05:00
|
|
|
|
Sets the font size used to render various strings.
|
2017-05-30 16:46:43 -04:00
|
|
|
|
|
2021-01-25 22:49:05 -05:00
|
|
|
|
.TP
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.B \-\-{time, date, layout, verif, wrong, greeter, modifier}outline\-width=number
|
2021-01-25 22:49:05 -05:00
|
|
|
|
Sets the width of the outline.
|
|
|
|
|
|
2017-05-30 16:46:43 -04:00
|
|
|
|
.TP
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.B \-\-ind\-pos="x\-position:y\-position"
|
|
|
|
|
Sets the position for the unlock indicator. Valid variables include:
|
2017-05-30 16:46:43 -04:00
|
|
|
|
.RS
|
2021-06-04 19:48:23 -04:00
|
|
|
|
.IP \[bu] 2
|
2021-05-27 19:51:09 -04:00
|
|
|
|
x - x position of the current display.
|
|
|
|
|
Corresponds to the leftmost column of pixels on that display.
|
2021-06-04 19:48:23 -04:00
|
|
|
|
.IP \[bu]
|
2021-05-27 19:51:09 -04:00
|
|
|
|
y - y position of the current display.
|
|
|
|
|
Corresponds to the topmost row of pixels on that display.
|
2021-06-04 19:48:23 -04:00
|
|
|
|
.IP \[bu]
|
2021-05-27 19:51:09 -04:00
|
|
|
|
w - width of the current display.
|
2021-06-04 19:48:23 -04:00
|
|
|
|
.IP \[bu]
|
2021-05-27 19:51:09 -04:00
|
|
|
|
h - height of the current display.
|
2021-06-04 19:48:23 -04:00
|
|
|
|
.IP \[bu]
|
2021-06-04 19:29:03 -04:00
|
|
|
|
r - unlock indicator radius.
|
2017-05-30 16:46:43 -04:00
|
|
|
|
.RE
|
|
|
|
|
|
2018-10-05 10:40:50 -04:00
|
|
|
|
.TP
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.B \-\-time\-pos="x\-position:y\-position"
|
2021-06-04 19:48:23 -04:00
|
|
|
|
Sets the position for the time string. All the variables from \-\-ind\-pos may
|
|
|
|
|
be used, in addition to:
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.RS
|
2021-06-04 19:48:23 -04:00
|
|
|
|
.IP \[bu] 2
|
2021-06-04 19:29:03 -04:00
|
|
|
|
ix - x position of the indicator on the current display.
|
2021-06-04 19:48:23 -04:00
|
|
|
|
.IP \[bu]
|
2021-06-04 19:29:03 -04:00
|
|
|
|
iy - y position of the indicator on the current display.
|
2021-06-04 19:48:23 -04:00
|
|
|
|
|
2021-06-04 19:29:03 -04:00
|
|
|
|
If the \-\-bar\-indicator option is used, the following variables may be used:
|
2021-06-04 19:48:23 -04:00
|
|
|
|
.IP \[bu] 2
|
2021-06-04 19:29:03 -04:00
|
|
|
|
bw - width of the bar indicator.
|
2021-06-04 19:48:23 -04:00
|
|
|
|
.IP \[bu]
|
2021-06-04 19:29:03 -04:00
|
|
|
|
bx - x position of the bar indicator on the current display.
|
2021-06-04 19:48:23 -04:00
|
|
|
|
.IP \[bu]
|
2021-06-04 19:29:03 -04:00
|
|
|
|
by - y position of the bar indicator on the current display.
|
2021-06-04 19:48:23 -04:00
|
|
|
|
.RE
|
2018-05-01 23:29:01 -04:00
|
|
|
|
|
2021-01-14 21:08:38 -05:00
|
|
|
|
.TP
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.B \-\-date\-pos="x\-position:y\-position"
|
2021-05-28 10:11:35 -04:00
|
|
|
|
Sets the position for the date string. All the variables from \-\-ind\-pos and
|
|
|
|
|
\-\-time\-pos may be used, in addition to:
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.RS
|
2021-06-04 19:48:23 -04:00
|
|
|
|
.IP \[bu] 2
|
2021-06-04 19:29:03 -04:00
|
|
|
|
tx - x position of the timestring on the current display.
|
2021-06-04 19:48:23 -04:00
|
|
|
|
.IP \[bu]
|
2021-06-04 19:29:03 -04:00
|
|
|
|
ty - y position of the timestring on the current display.
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.RE
|
2021-01-14 21:08:38 -05:00
|
|
|
|
|
2017-05-30 21:47:18 -04:00
|
|
|
|
.TP
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.B \-\-greeter\-pos="x\-position:y\-position"
|
2021-05-28 10:11:35 -04:00
|
|
|
|
Sets the position for the greeter string. All the variables from \-\-ind\-pos and
|
|
|
|
|
\-\-time\-pos may be used.
|
2017-05-30 21:47:18 -04:00
|
|
|
|
|
2018-01-23 12:28:29 -05:00
|
|
|
|
.TP
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.B \-\-pass\-{media, screen, power, volume}\-keys
|
|
|
|
|
Allow the following keys to be used normally while the screen is locked by
|
|
|
|
|
passing them through:
|
|
|
|
|
.RS
|
2021-06-04 19:48:23 -04:00
|
|
|
|
.IP \[bu] 2
|
2021-05-27 19:51:09 -04:00
|
|
|
|
media - XF86AudioPlay, XF86AudioPause, XF86AudioStop, XF86AudioPrev,
|
|
|
|
|
XF86AudioNext, XF86AudioMute, XF86AudioLowerVolume, XF86AudioRaiseVolume
|
2021-06-04 19:48:23 -04:00
|
|
|
|
.IP \[bu]
|
2021-05-27 19:51:09 -04:00
|
|
|
|
screen - XF86MonBrightnessUp, XF86MonBrightnessDown
|
2021-06-04 19:48:23 -04:00
|
|
|
|
.IP \[bu]
|
2021-05-27 19:51:09 -04:00
|
|
|
|
power - XF86PowerDown, XF86PowerOff, XF86Sleep
|
2021-06-04 19:48:23 -04:00
|
|
|
|
.IP \[bu]
|
2021-05-27 19:51:09 -04:00
|
|
|
|
volume - XF86AudioMute, XF86AudioLowerVolume, XF86AudioRaiseVolume
|
|
|
|
|
.RE
|
2018-01-23 12:28:29 -05:00
|
|
|
|
|
2021-08-09 16:54:35 -04:00
|
|
|
|
.TP
|
|
|
|
|
.B \-\-special\-passthrough
|
2021-08-09 17:15:59 -04:00
|
|
|
|
Allows special keys to pass through the locked screen, with \-\-pass\-{media, screen,
|
2021-08-09 17:23:07 -04:00
|
|
|
|
power, volume}\-keys. Keystrokes are forcibly sent to the window manager or desktop
|
|
|
|
|
environment in three steps: un-grab keyboard, send key, and re-grab the keyboard.
|
2021-08-09 16:54:35 -04:00
|
|
|
|
No other keys will be sent to the WM/DE.
|
|
|
|
|
|
2021-08-09 17:15:59 -04:00
|
|
|
|
Note: ONLY use this option if the special keys are NOT passed through without it.
|
|
|
|
|
This could be less safe than the default behavior since the keyboard is ungrabbed for
|
|
|
|
|
the keys to be passed through. This HAS been tested though, so there SHOULDN'T be any
|
|
|
|
|
security issues.
|
|
|
|
|
|
2017-12-08 21:32:31 -05:00
|
|
|
|
.TP
|
|
|
|
|
.B \-\-bar\-indicator
|
2021-05-27 19:51:09 -04:00
|
|
|
|
Replaces the usual ring indicator with a bar indicator. Comes with perks.
|
2017-12-08 21:32:31 -05:00
|
|
|
|
|
|
|
|
|
.TP
|
|
|
|
|
.B \-\-bar\-direction={0, 1, 2}
|
2021-05-27 19:51:09 -04:00
|
|
|
|
Sets the direction the bars grow in. 0 is the default (downwards, or rightwards,
|
|
|
|
|
depending on the bar orientation). 1 is the reverse, and 2 is both.
|
2017-12-08 21:32:31 -05:00
|
|
|
|
|
|
|
|
|
.TP
|
|
|
|
|
.B \-\-bar\-orientation={vertical,horizontal}
|
2021-05-27 19:51:09 -04:00
|
|
|
|
Sets whether the bar is vertically or horizontally oriented.
|
|
|
|
|
Defaults to horizontal.
|
2017-12-08 21:32:31 -05:00
|
|
|
|
|
|
|
|
|
.TP
|
|
|
|
|
.B \-\-bar\-step
|
2021-05-27 19:51:09 -04:00
|
|
|
|
Sets the step that each bar decreases by when a key is pressed. A random bar is
|
|
|
|
|
set to its max height, then each neighbor is set to (height - step*distance).
|
2017-12-08 21:32:31 -05:00
|
|
|
|
|
|
|
|
|
.TP
|
|
|
|
|
.B \-\-bar\-max\-height
|
2021-05-27 19:51:09 -04:00
|
|
|
|
The maximum height a bar can get to. When a key is pressed, a random bar is set
|
|
|
|
|
to this value, then its neighbors are set to its height, minus the step value.
|
2017-12-08 21:32:31 -05:00
|
|
|
|
|
|
|
|
|
.TP
|
|
|
|
|
.B \-\-bar\-base\-width
|
2020-04-16 18:53:57 -04:00
|
|
|
|
The thickness of the "base" bar that all the bars originate from.
|
2021-05-27 19:51:09 -04:00
|
|
|
|
This bar also takes on the ring verification and wrong colors to give
|
|
|
|
|
authentication feedback.
|
2017-12-08 21:32:31 -05:00
|
|
|
|
|
|
|
|
|
.TP
|
|
|
|
|
.B \-\-bar\-color
|
|
|
|
|
Sets the default color of the bar base.
|
|
|
|
|
|
|
|
|
|
.TP
|
|
|
|
|
.B \-\-bar\-periodic\-step
|
|
|
|
|
The value by which the bars decrease each time the screen is redrawn.
|
|
|
|
|
|
|
|
|
|
.TP
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.B \-\-bar\-pos
|
|
|
|
|
Works similarly to the time/date/indicator expressions. If only one number is
|
|
|
|
|
provided, this sets the vertical offset from the top or left edge. If two
|
|
|
|
|
numbers are provided in the form of x:y, sets the starting position of the bar.
|
2017-12-08 21:32:31 -05:00
|
|
|
|
|
2021-01-24 01:19:01 -05:00
|
|
|
|
.TP
|
2021-02-18 14:14:55 -05:00
|
|
|
|
.B \-\-bar\-count
|
2021-01-24 01:19:01 -05:00
|
|
|
|
Sets the number of minibars to draw on each screen.
|
|
|
|
|
|
2021-02-18 14:14:55 -05:00
|
|
|
|
.TP
|
|
|
|
|
.B \-\-bar\-total\-width
|
|
|
|
|
The total width of the bar. Can be an expression.
|
|
|
|
|
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.TP
|
|
|
|
|
.B \-\-redraw\-thread
|
|
|
|
|
Starts a separate thread for redrawing the screen. Potentially worse from a
|
|
|
|
|
security standpoint, but makes the bar indicator still do its usual periodic
|
|
|
|
|
redraws when PAM is authenticating.
|
|
|
|
|
|
|
|
|
|
.TP
|
|
|
|
|
.B \-\-refresh\-rate=seconds\-as\-double
|
|
|
|
|
The refresh rate of the indicator, given in seconds. This should automatically
|
|
|
|
|
align itself, but is somewhat buggy currently.
|
|
|
|
|
Values less than one will work, but may result in poor system performance.
|
|
|
|
|
|
|
|
|
|
.TP
|
|
|
|
|
.B \-\-composite
|
|
|
|
|
Some compositors have problems with i3lock trying to render over them, so this
|
|
|
|
|
argument is disabled by default. However, some will work properly with it, so
|
|
|
|
|
it's been left enabled.
|
|
|
|
|
|
2019-10-03 08:10:14 -04:00
|
|
|
|
.TP
|
|
|
|
|
.B \-\-no\-verify
|
2020-04-16 18:53:57 -04:00
|
|
|
|
Do not verify the password entered by the user and unlock immediately.
|
2021-05-27 19:51:09 -04:00
|
|
|
|
.B Use only for quickly testing new configurations and remember to remove to
|
|
|
|
|
.B actually lock your screen!
|
|
|
|
|
|
|
|
|
|
.TP
|
|
|
|
|
.B \-\-slideshow\-interval
|
|
|
|
|
The interval to wait until switching to the next image.
|
|
|
|
|
|
|
|
|
|
.TP
|
|
|
|
|
.B \-\-slideshow\-random\-selection
|
|
|
|
|
Randomize the order of the images.
|
2016-07-20 02:50:07 -04:00
|
|
|
|
|
2022-01-10 12:34:12 -05:00
|
|
|
|
.SH CONTROL CHARACTERS
|
|
|
|
|
Control characters (\\r \\n \\b \\t) are supported in text OPTIONS. Their behavior
|
|
|
|
|
are almost as same as anywhere else.
|
|
|
|
|
.TP
|
|
|
|
|
.B Carriage Return(\\\\r)
|
|
|
|
|
Move to the start of line (left edge).
|
|
|
|
|
Notes: The rendered characters would still live there.
|
|
|
|
|
.TP
|
|
|
|
|
.B Line Feed(\\\\n)
|
|
|
|
|
Move to start of next line (left edge).
|
|
|
|
|
.TP
|
|
|
|
|
.B Backspace(\\\\b)
|
|
|
|
|
Overwrite last one char if exists.
|
|
|
|
|
Notes: The rendered character would still live there.
|
|
|
|
|
.TP
|
|
|
|
|
.B Tab(\\\\t)
|
|
|
|
|
Move to next tab stop position.The width of one character for moving is as same as character 'a'.
|
|
|
|
|
Note: The width may be strange if the font is not mono-spaced.
|
|
|
|
|
|
2012-02-23 11:03:59 -05:00
|
|
|
|
.SH SEE ALSO
|
|
|
|
|
.IR xautolock(1)
|
|
|
|
|
\- use i3lock as your screen saver
|
|
|
|
|
|
2019-09-22 20:00:56 -04:00
|
|
|
|
.IR convert(1)
|
|
|
|
|
\- feed a wide variety of image formats to i3lock
|
|
|
|
|
|
2022-01-10 12:34:12 -05:00
|
|
|
|
.SH HOMEPAGE
|
|
|
|
|
https://github.com/Raymo111/i3lock-color
|
|
|
|
|
|
|
|
|
|
Please report bugs and submit pull-requests as follows:
|
|
|
|
|
For i3lock (upstream): https://github.com/i3/i3lock
|
|
|
|
|
For i3lock-color (enhancements on top of i3lock): https://github.com/Raymo111/i3lock-color
|
|
|
|
|
|
|
|
|
|
.SH AUTHORS
|
2009-03-11 18:44:39 -04:00
|
|
|
|
Michael Stapelberg <michael+i3lock at stapelberg dot de>
|
|
|
|
|
|
2009-08-02 15:47:39 -04:00
|
|
|
|
Jan-Erik Rediger <badboy at archlinux.us>
|
2017-12-08 21:32:31 -05:00
|
|
|
|
|
|
|
|
|
Pandora <pandora at techfo dot xyz>
|
2020-03-09 13:27:54 -04:00
|
|
|
|
|
2020-05-10 15:33:28 -04:00
|
|
|
|
Raymond Li <i3lock-color at raymond.li>
|