1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 15:02:07 +02:00
tldr/pages/linux/swaylock.md
Abdul Rafay 6afd4dbb5f
swaylock: add page (#10628)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2023-08-25 15:42:00 +02:00

36 lines
845 B
Markdown

# swaylock
> Screen locking utility for Wayland compositors.
> More information: <https://manned.org/swaylock>.
- Lock the screen showing a white background:
`swaylock`
- Lock the screen with a simple color background (rrggbb format):
`swaylock --color {{0000ff}}`
- Lock the screen to a PNG background:
`swaylock --image {{path/to/file.png}}`
- Lock the screen and disable the unlock indicator (removes feedback on keypress):
`swaylock --no-unlock-indicator`
- Lock the screen and don't hide the mouse pointer:
`swaylock --pointer {{default}}`
- Lock the screen to a PNG background tiled over all monitors:
`swaylock --image {{path/to/file.png}} --tiling`
- Lock the screen and show the number of failed login attempts:
`swaylock --show-failed-attempts`
- Load configuration from a file:
`swaylock --config {{path/to/config}}`