Skip to content

Commit

Permalink
docs(readme): update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jtheoof committed Jan 6, 2020
1 parent 51b27d7 commit 6a598cb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ Grab a swappshot from a specific window under Sway, using `swaymsg` and `jq`:

```sh
grim -g "$(swaymsg -t get_tree | jq -r '.. | select(.pid? and .visible?) | .rect | "\(.x),\(.y) \(.width)x\(.height)"' | slurp)" - | swappy -f -
# Or
swappy -g "$(swaymsg -t get_tree | jq -r '.. | select(.pid? and .visible?) | .rect | "\(.x),\(.y) \(.width)x\(.height)"' | slurp)"
```

## Keyboard Shortcuts
Expand Down Expand Up @@ -95,8 +93,9 @@ Install dependencies:

Optional dependencies:

- wayland-protocols (for the `-g` option to work with [wlr-screencopy-unstable-v1] protocol).
- libnotify (not get notified when swappshot is copied or saved).
- wayland-protocols (for the `-g` option to work with [wlr-screencopy-unstable-v1] protocol)
- wl-clipboard (to make sure the copy is saved if you close swappy)
- libnotify (not get notified when swappshot is copied or saved)
- scdoc to generate the man page

Then run:
Expand Down

0 comments on commit 6a598cb

Please sign in to comment.