mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-12 17:47:48 +00:00
Update cheatsheets
This commit is contained in:
37
tldr/i3lock
Normal file
37
tldr/i3lock
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# i3lock
|
||||
|
||||
> Simple screen locker built for the i3 window manager.
|
||||
> More information: <https://manned.org/i3lock>.
|
||||
|
||||
- Lock the screen showing a white background:
|
||||
|
||||
`i3lock`
|
||||
|
||||
- Lock the screen with a simple color background (rrggbb format):
|
||||
|
||||
`i3lock {{[-c|--color]}} {{0000ff}}`
|
||||
|
||||
- Lock the screen to a PNG background:
|
||||
|
||||
`i3lock {{[-i|--image]}} {{path/to/file.png}}`
|
||||
|
||||
- Lock the screen and disable the unlock indicator (removes feedback on keypress):
|
||||
|
||||
`i3lock {{[-u|--no-unlock-indicator]}}`
|
||||
|
||||
- Lock the screen and don't hide the mouse pointer:
|
||||
|
||||
`i3lock {{[-p|--pointer]}} {{default}}`
|
||||
|
||||
- Lock the screen to a PNG background tiled over all monitors:
|
||||
|
||||
`i3lock {{[-i|--image]}} {{path/to/file.png}} {{[-t|--tiling]}}`
|
||||
|
||||
- Lock the screen and show the number of failed login attempts:
|
||||
|
||||
`i3lock {{[-f|--show-failed-attempts]}}`
|
||||
21
tldr/swaybg
Normal file
21
tldr/swaybg
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# swaybg
|
||||
|
||||
> Wallpaper tool for Wayland compositors.
|
||||
> More information: <https://github.com/swaywm/swaybg/blob/master/swaybg.1.scd>.
|
||||
|
||||
- Set the wallpaper to an image:
|
||||
|
||||
`swaybg {{[-i|--image]}} {{path/to/image}}`
|
||||
|
||||
- Set the wallpaper mode:
|
||||
|
||||
`swaybg {{[-i|--image]}} {{path/to/image}} {{[-m|--mode]}} {{stretch|fit|fill|center|tile|solid_color}}`
|
||||
|
||||
- Set the wallpaper to a static color:
|
||||
|
||||
`swaybg {{[-c|--color]}} "{{#rrggbb}}"`
|
||||
18
tldr/swayidle
Normal file
18
tldr/swayidle
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# swayidle
|
||||
|
||||
> Idle management daemon for Wayland.
|
||||
> Note: the configuration options are documented in its man page.
|
||||
> More information: <https://github.com/swaywm/swayidle/blob/master/swayidle.1.scd>.
|
||||
|
||||
- Listen for idle activity using the configuration in `$XDG_CONFIG_HOME/swayidle/config` or `$HOME/swayidle/config`:
|
||||
|
||||
`swayidle`
|
||||
|
||||
- Specify an alternative path to the configuration file:
|
||||
|
||||
`swayidle -C {{path/to/file}}`
|
||||
41
tldr/swaylock
Normal file
41
tldr/swaylock
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user