2020-07-05 20:54:09 +00:00
|
|
|
# i3lock
|
|
|
|
|
|
|
|
> Simple screen locker built for the i3 window manager.
|
2025-04-27 10:35:40 +03:00
|
|
|
> More information: <https://manned.org/i3lock>.
|
2020-07-05 20:54:09 +00:00
|
|
|
|
2021-11-14 02:28:51 +01:00
|
|
|
- Lock the screen showing a white background:
|
2020-07-05 20:54:09 +00:00
|
|
|
|
2021-11-14 02:28:51 +01:00
|
|
|
`i3lock`
|
2020-07-05 20:54:09 +00:00
|
|
|
|
2021-11-14 02:28:51 +01:00
|
|
|
- Lock the screen with a simple color background (rrggbb format):
|
2020-07-05 20:54:09 +00:00
|
|
|
|
2025-04-27 10:35:40 +03:00
|
|
|
`i3lock {{[-c|--color]}} {{0000ff}}`
|
2020-07-05 20:54:09 +00:00
|
|
|
|
2021-11-14 02:28:51 +01:00
|
|
|
- Lock the screen to a PNG background:
|
2020-07-05 20:54:09 +00:00
|
|
|
|
2025-04-27 10:35:40 +03:00
|
|
|
`i3lock {{[-i|--image]}} {{path/to/file.png}}`
|
2020-07-05 20:54:09 +00:00
|
|
|
|
2021-11-14 02:28:51 +01:00
|
|
|
- Lock the screen and disable the unlock indicator (removes feedback on keypress):
|
2020-07-05 20:54:09 +00:00
|
|
|
|
2025-04-27 10:35:40 +03:00
|
|
|
`i3lock {{[-u|--no-unlock-indicator]}}`
|
2020-07-05 20:54:09 +00:00
|
|
|
|
2021-11-14 02:28:51 +01:00
|
|
|
- Lock the screen and don't hide the mouse pointer:
|
2020-07-05 20:54:09 +00:00
|
|
|
|
2025-04-27 10:35:40 +03:00
|
|
|
`i3lock {{[-p|--pointer]}} {{default}}`
|
2021-11-14 02:28:51 +01:00
|
|
|
|
|
|
|
- Lock the screen to a PNG background tiled over all monitors:
|
|
|
|
|
2025-04-27 10:35:40 +03:00
|
|
|
`i3lock {{[-i|--image]}} {{path/to/file.png}} {{[-t|--tiling]}}`
|
2021-11-14 02:28:51 +01:00
|
|
|
|
|
|
|
- Lock the screen and show the number of failed login attempts:
|
|
|
|
|
2025-04-27 10:35:40 +03:00
|
|
|
`i3lock {{[-f|--show-failed-attempts]}}`
|