Skip to content

Commit

Permalink
[docs] update README with new cli
Browse files Browse the repository at this point in the history
  • Loading branch information
CheerfulPianissimo committed May 23, 2024
1 parent 1cd5ab9 commit d88c92d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ NOTE: Read `man 7 wayshot` for more examples.

NOTE: Read `man wayshot` for flag information.

Region Selection:
Screenshot and Crop Region:

```bash
wayshot -s "$(slurp)"
wayshot -s
```

Fullscreen:
Expand All @@ -38,13 +38,13 @@ wayshot
Screenshot and copy to clipboard:

```bash
wayshot --stdout | wl-copy
wayshot --clipboard
```

Pick a hex color code, using ImageMagick:

```bash
wayshot -s "$(slurp -p)" --stdout | convert - -format '%[pixel:p{0,0}]' txt:-|grep -E "#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})" -o
wayshot -s - | convert - -format '%[pixel:p{0,0}]' txt:-|grep -E "#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})" -o
```

# Installation
Expand Down

0 comments on commit d88c92d

Please sign in to comment.