All Projects → emersion → Slurp

emersion / Slurp

Licence: mit
Select a region in a Wayland compositor

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Slurp

Grim
Grab images from a Wayland compositor
Stars: ✭ 533 (+52.29%)
Mutual labels:  cli, wayland, screenshot
Slop
slop (Select Operation) is an application that queries for a selection from the user and prints the region to stdout.
Stars: ✭ 639 (+82.57%)
Mutual labels:  cli, screenshot
Python Mss
An ultra fast cross-platform multiple screenshots module in pure Python using ctypes.
Stars: ✭ 582 (+66.29%)
Mutual labels:  cli, screenshot
Page2image
📷 page2image is a npm package for taking screenshots which also provides CLI command
Stars: ✭ 66 (-81.14%)
Mutual labels:  cli, screenshot
Ffcast
Run command on rectangular screen regions
Stars: ✭ 478 (+36.57%)
Mutual labels:  cli, screenshot
Imgur Screenshot
Take screenshot selection, upload to imgur. + more cool things
Stars: ✭ 540 (+54.29%)
Mutual labels:  cli, screenshot
Foxshot
Capture web page screenshots using headless Firefox!
Stars: ✭ 52 (-85.14%)
Mutual labels:  cli, screenshot
nextshot
A simple tool for taking screenshots on Linux and sharing via Nextcloud
Stars: ✭ 37 (-89.43%)
Mutual labels:  screenshot, wayland
Termuxarch
Experience the pleasure of the Linux command prompt in Android, Chromebook, Fire OS and Windows on smartphone, smartTV, tablet and wearable https://termuxarch.github.io/TermuxArch/
Stars: ✭ 183 (-47.71%)
Mutual labels:  cli, screenshot
Site Scan
CLI for capturing website screenshots, powered by puppeteer.
Stars: ✭ 137 (-60.86%)
Mutual labels:  cli, screenshot
Ksnip
ksnip the cross-platform screenshot and annotation tool
Stars: ✭ 776 (+121.71%)
Mutual labels:  wayland, screenshot
Singlefile
Web Extension for Firefox/Chrome/MS Edge and CLI tool to save a faithful copy of an entire web page in a single HTML file
Stars: ✭ 4,417 (+1162%)
Mutual labels:  cli, screenshot
Mako
A lightweight Wayland notification daemon
Stars: ✭ 944 (+169.71%)
Mutual labels:  cli, wayland
Centerline
Calculate the polygon's centerline
Stars: ✭ 94 (-73.14%)
Mutual labels:  cli, screenshot
Swappy
A Wayland native snapshot editing tool, inspired by Snappy on macOS
Stars: ✭ 264 (-24.57%)
Mutual labels:  wayland, screenshot
Wob
A lightweight overlay volume/backlight/progress/anything bar for Wayland.
Stars: ✭ 306 (-12.57%)
Mutual labels:  cli, wayland
Landscaper
Deprecated. Takes a set of Helm Chart references with values (a desired state), and realizes this in a Kubernetes cluster
Stars: ✭ 342 (-2.29%)
Mutual labels:  cli
Gulp Cli
Command Line Interface for gulp.
Stars: ✭ 347 (-0.86%)
Mutual labels:  cli
Cmd2
cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python
Stars: ✭ 342 (-2.29%)
Mutual labels:  cli
Anon
A UNIX Command To Anonymise Data
Stars: ✭ 341 (-2.57%)
Mutual labels:  cli

slurp

Select a region in a Wayland compositor and print it to the standard output. Works well with grim.

It currently works on Sway 1.0.

Join the IRC channel: ##emersion on Freenode.

Building

Install dependencies:

  • meson
  • wayland
  • cairo
  • libxkbcommon
  • scdoc (optional: man pages)

Then run:

meson build
ninja -C build
build/slurp

Example usage

Select a region and print it to stdout:

slurp

Select a single point instead of a region:

slurp -p

Select an output and print its name:

slurp -o -f "%o"

Select a window under Sway, using swaymsg and jq:

swaymsg -t get_tree | jq -r '.. | select(.pid? and .visible?) | .rect | "\(.x),\(.y) \(.width)x\(.height)"' | slurp

Contributing

Either send GitHub pull requests or send patches on the mailing list.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].