An open API service indexing awesome lists of open source software.

https://github.com/labi-le/wayland-screenshot

handy screenshot utility for sway
https://github.com/labi-le/wayland-screenshot

go golang sway swaywm wayland

Last synced: 3 months ago
JSON representation

handy screenshot utility for sway

Awesome Lists containing this project

README

        

# wl-screenshot

wayland screenshot utility

## Dependencies

- wl-clipboard
- grim
- slurp
- swappy

## Install

```sh
make install
```

## Usage

```
Usage of wl-screenshot:
-capture string
Capture area or all (default "area")
-edit
Edit image with swappy
-notify
Show notification with notify-send
-path string
Path to save file

```

## Sway elegant binding

```
# default screenshot area to clipboard
bindsym --to-code Print exec wl-screenshot

# default screenshot and open swappy
bindsym --to-code Print exec wl-screenshot -edit

# scrap area and save to file
bindsym --to-code Print exec wl-screenshot -capture area -path ~/Pictures/
```