mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-05 09:44:17 +00:00
Update cheatsheets
This commit is contained in:
33
tldr/linux/slurp
Normal file
33
tldr/linux/slurp
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# slurp
|
||||
|
||||
> Select a region in a Wayland compositor.
|
||||
> More information: <https://github.com/emersion/slurp>.
|
||||
|
||||
- Select a region and print it to `stdout`:
|
||||
|
||||
`slurp`
|
||||
|
||||
- Select a region and print it to `stdout`, while displaying the dimensions of the selection:
|
||||
|
||||
`slurp -d`
|
||||
|
||||
- Select a single point instead of a region:
|
||||
|
||||
`slurp -p`
|
||||
|
||||
- Select an output and print its name:
|
||||
|
||||
`slurp -o -f '%o'`
|
||||
|
||||
- Select a specific region and take a borderless screenshot of it, using `grim`:
|
||||
|
||||
`grim -g "$(slurp -w 0)"`
|
||||
|
||||
- Select a specific region and take a borderless video of it, using `wf-recorder`:
|
||||
|
||||
`wf-recorder --geometry "$(slurp -w 0)"`
|
||||
16
tldr/osx/mas
16
tldr/osx/mas
@@ -20,10 +20,22 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`mas search "{{application}}" --price`
|
||||
|
||||
- Install or update an application:
|
||||
- Install or update an application using exact numeric id:
|
||||
|
||||
`mas install {{product_identifier}}`
|
||||
`mas install {{numeric_product_id}}`
|
||||
|
||||
- Install the first application that would be returned by the respective search:
|
||||
|
||||
`mas lucky "{{search_term}}"`
|
||||
|
||||
- List all outdated apps with pending updates:
|
||||
|
||||
`mas outdated`
|
||||
|
||||
- Install all pending updates:
|
||||
|
||||
`mas upgrade`
|
||||
|
||||
- Upgrade a specific application:
|
||||
|
||||
`mas upgrade "{{numeric_product_id}}"`
|
||||
|
||||
Reference in New Issue
Block a user