Skip to content

Instantly share code, notes, and snippets.

@AndreasBackx
Created November 7, 2023 23:14
Show Gist options
  • Save AndreasBackx/5945b366e989159f4669e7ba30c13239 to your computer and use it in GitHub Desktop.
Save AndreasBackx/5945b366e989159f4669e7ba30c13239 to your computer and use it in GitHub Desktop.
Screenshot tool for compositors implementing zwlr_screencopy_v1.
Usage: wayshot [OPTIONS]
Options:
-d, --debug Enable debug mode
-s, --slurp <SLURP_ARGS> Arguments to call slurp with for selecting a region
-f, --file <FILE_PATH> Mention a custom file path
-c, --cursor Enable cursor in screenshots
--stdout Output the image data to standard out
-e, --extension <FILE_EXTENSION> Set image encoder (Png is default)
-l, --listoutputs List all valid outputs
-o, --output <OUTPUT> Choose a particular display to screenshot
--chooseoutput Present a fuzzy selector for outputs
-h, --help Print help
-V, --version Print version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment