From 6afd4dbb5f5d392e8d3977bb18c54915f9feb740 Mon Sep 17 00:00:00 2001 From: Abdul Rafay <82662797+rafay99-epic@users.noreply.github.com> Date: Fri, 25 Aug 2023 18:42:00 +0500 Subject: [PATCH] swaylock: add page (#10628) Co-authored-by: K.B.Dharun Krishna Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- pages/linux/swaylock.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/linux/swaylock.md diff --git a/pages/linux/swaylock.md b/pages/linux/swaylock.md new file mode 100644 index 000000000..7ac102209 --- /dev/null +++ b/pages/linux/swaylock.md @@ -0,0 +1,36 @@ +# swaylock + +> Screen locking utility for Wayland compositors. +> More information: . + +- 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}}`