emersion / Grim
Licence: mit
Grab images from a Wayland compositor
Stars: ✭ 533
Programming Languages
c
50402 projects - #5 most used programming language
Labels
Projects that are alternatives of or similar to Grim
Slurp
Select a region in a Wayland compositor
Stars: ✭ 350 (-34.33%)
Mutual labels: cli, wayland, screenshot
Foxshot
Capture web page screenshots using headless Firefox!
Stars: ✭ 52 (-90.24%)
Mutual labels: cli, screenshot
Site Scan
CLI for capturing website screenshots, powered by puppeteer.
Stars: ✭ 137 (-74.3%)
Mutual labels: cli, screenshot
Imgur Screenshot
Take screenshot selection, upload to imgur. + more cool things
Stars: ✭ 540 (+1.31%)
Mutual labels: cli, screenshot
Slop
slop (Select Operation) is an application that queries for a selection from the user and prints the region to stdout.
Stars: ✭ 639 (+19.89%)
Mutual labels: cli, screenshot
Python Mss
An ultra fast cross-platform multiple screenshots module in pure Python using ctypes.
Stars: ✭ 582 (+9.19%)
Mutual labels: cli, screenshot
nextshot
A simple tool for taking screenshots on Linux and sharing via Nextcloud
Stars: ✭ 37 (-93.06%)
Mutual labels: screenshot, wayland
Swappy
A Wayland native snapshot editing tool, inspired by Snappy on macOS
Stars: ✭ 264 (-50.47%)
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 (+728.71%)
Mutual labels: cli, screenshot
Ksnip
ksnip the cross-platform screenshot and annotation tool
Stars: ✭ 776 (+45.59%)
Mutual labels: wayland, screenshot
Page2image
📷 page2image is a npm package for taking screenshots which also provides CLI command
Stars: ✭ 66 (-87.62%)
Mutual labels: cli, screenshot
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 (-65.67%)
Mutual labels: cli, screenshot
Wob
A lightweight overlay volume/backlight/progress/anything bar for Wayland.
Stars: ✭ 306 (-42.59%)
Mutual labels: cli, wayland
Ffcast
Run command on rectangular screen regions
Stars: ✭ 478 (-10.32%)
Mutual labels: cli, screenshot
Jrnl
Collect your thoughts and notes without leaving the command line.
Stars: ✭ 5,126 (+861.73%)
Mutual labels: cli
Valheim Docker
Valheim Docker powered by Odin. The Valheim dedicated gameserver manager which is designed with resiliency in mind by providing automatic updates, world backup support, and a user friendly cli interface.
Stars: ✭ 525 (-1.5%)
Mutual labels: cli
Truss
Truss helps you build go-kit microservices without having to worry about writing or maintaining boilerplate code.
Stars: ✭ 523 (-1.88%)
Mutual labels: cli
Mt Aws Glacier
Perl Multithreaded Multipart sync to Amazon Glacier
Stars: ✭ 522 (-2.06%)
Mutual labels: cli
grim
Grab images from a Wayland compositor. Works great with slurp and with sway.
Example usage
Screenshoot all outputs:
grim
Screenshoot a specific output:
grim -o DP-1
Screenshoot a region:
grim -g "10,20 300x400"
Select a region and screenshoot it:
grim -g "$(slurp)"
Use a custom filename:
grim $(xdg-user-dir PICTURES)/$(date +'%s_grim.png')
Screenshoot and copy to clipboard:
grim - | wl-copy
Grab a screenshot from the focused monitor under Sway, using swaymsg
and
jq
:
grim -o $(swaymsg -t get_outputs | jq -r '.[] | select(.focused) | .name')
Pick a color, using ImageMagick:
grim -g "$(slurp -p)" -t ppm - | convert - -format '%[pixel:p{0,0}]' txt:-
Building from source
Install dependencies:
- meson
- wayland
- cairo
- libjpeg (optional)
Then run:
meson build
ninja -C build
To run directly, use build/grim
, or if you would like to do a system
installation (in /usr/local
by default), run ninja -C build install
.
Contributing
Either send GitHub pull requests or send patches on the mailing list.
Join the IRC channel: ##emersion on Freenode.
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].