Skip to content

dy-tea/mrpenishot

Repository files navigation

mrpenishot

Wayland screenshot application written in the V programming language

mrpenishot

Dependencies

Building

v run build.vsh  # generate protocols
v .              # build

Features

  • Screenshot all outputs
  • Screenshot specific output
  • Screenshot specific region
  • Screenshot specific toplevel
  • Include or exclude cursor
  • PNG, JXL, QOI and PPM support
  • HDR support

Usage

mrpenishot                                      # all outputs
mrpenishot -c                                   # including cursor
mrpenishot out.png                              # output to file
mrpenishot -o "DP-1"                            # geometry of output
mrpenishot -f jxl                               # output to jxl
mrpenishot -g "100,200 300x400"                 # geometry
mrpenishot -g "$(slurp)"                        # geometry from slurp
mrpenishot -t "$(awmsg t f | jq -j '.foreign')" # capture toplevel in awm
mrpenishot - | wl-copy                          # copy image to clipboard

References

About

Wayland screenshot utility written in V.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages