1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

{i3-,sway}lock, sway{idle,bg}: move to common, update page (#16273)

This commit is contained in:
Lena 2025-04-29 18:10:36 +00:00 committed by GitHub
parent 9776b1a283
commit ae71920c10
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 36 additions and 40 deletions

View file

@ -19,10 +19,6 @@
`swaylock --no-unlock-indicator`
- 마우스 포인터를 숨기지 않고 화면 잠금:
`swaylock --pointer {{default}}`
- 모든 모니터에 타일 형식으로 PNG 배경 이미지로 화면 잠금:
`swaylock --image {{경로/대상/파일.png}} --tiling`

36
pages/common/swaylock.md Normal file
View file

@ -0,0 +1,36 @@
# swaylock
> Screen locking utility for Wayland compositors.
> More information: <https://manned.org/swaylock>.
- Lock the screen using the config in `$HOME/.swaylock/config` or `$XDG_CONFIG_HOME/swaylock/config`:
`swaylock`
- Lock the screen with a simple color background (`rrggbb` format):
`swaylock {{[-c|--color]}} {{0000ff}}`
- Lock the screen with a background image:
`swaylock {{[-i|--image]}} {{path/to/image}}`
- Lock the screen and disable the unlock indicator (removes feedback on keypress):
`swaylock {{[-u|--no-unlock-indicator]}}`
- Detach from the controlling terminal after locking (like `i3lock`):
`swaylock {{[-f|--daemonize]}}`
- Lock the screen with a background image tiled over all monitors:
`swaylock {{[-i|--image]}} {{path/to/image}} {{[-t|--tiling]}}`
- Lock the screen and show the number of failed login attempts:
`swaylock {{[-F|--show-failed-attempts]}}`
- Load the configuration from a specific file:
`swaylock {{[-C|--config]}} {{path/to/config}}`

View file

@ -1,36 +0,0 @@
# 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}}`