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
- Host: GitHub
- URL: https://github.com/labi-le/wayland-screenshot
- Owner: labi-le
- License: mit
- Created: 2022-12-07T09:47:29.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-06T20:43:36.000Z (about 1 year ago)
- Last Synced: 2025-01-03T19:15:14.832Z (5 months ago)
- Topics: go, golang, sway, swaywm, wayland
- Language: Go
- Homepage:
- Size: 12.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/
```