wayshot(1)
π wayshot(1) β the glow-up
okay bestie, so this is the manual page for wayshot, a screenshot tool for compositors that implement zwlr_screencopy_v1, like sway and river β¨ It's filed under General Commands Manual, and honestly it's giving main character energy.
πΈ SYNOPSIS πΈ
wayshot [options] [output]
π ARGUMENTS π
outputβ where you want the captured screenshot to go, bestie. it can be one of these types:- A directory β image outputs get saved in the default format
wayshot-yyyy-mm-dd-hh-mm-ss.pngπ - A path β encoding is automatically inferred from the extension, iykyk.
-β which sends the screenshot to stdout. iconic.
- A directory β image outputs get saved in the default format
also, the --clipboard option can be used at the same time as any of the above to copy the image to the clipboard too π«Ά
β¨ OPTIONS β¨
-hβ print concise help messages and quit. short and sweet.--helpβ print the full help message and quit. the whole lore dump.-V,--versionβ print version information π
π Query (print info, then exit β no screenshot is taken)
-l,--list-outputsβ list all connected output names.--list-outputs-jsonβ list all connected outputs with their name, description, size, and position, in JSON format.--list-outputs-infoβ list all connected outputs with their name, description, size, and position.--list-toplevels,--list-windowsβ list all active toplevel windows, with app_id, title and identifier.--list-toplevels-jsonβ list all active toplevel windows, with app_id, title and identifier, in JSON format.--colorβ click a pixel and print its RGBA and hex color value. by default the screen is frozen first; use--no-freezeto pick on the live display π¨
Requires the color_picker feature (enabled by default).
π¦ Capture target (what to capture)
-g,--geometry [GEOMETRY]β select a screen region to capture.- Without a value: interactively select a region. by default the screen is frozen before the selection overlay is shown, giving a stable view for precise selection. use
--no-freezeto select on the live display and capture after selection. Requires theselectorfeature. - With a value: capture the fixed region described by GEOMETRY, a string in slurp/grim format
"x,y width_x_height"(e.g."100,200 300x400"). Compatible with the output ofslurp(1). Example:wayshot -g "$(slurp)"
- Without a value: interactively select a region. by default the screen is frozen before the selection overlay is shown, giving a stable view for precise selection. use
Note: passing a file path directly after-gis no longer supported; place the path before the flag or use--to separate arguments (e.g.wayshot -g -- file.png). lowkey a glow-up, highkey a breaking change π
--geometry-background-color <RGBA_HEX_COLOR>β background color (rgba hex) while selecting a region (--geometry). Example:#00000050--geometry-foreground-color <RGBA_HEX_COLOR>β foreground color (rgba hex) while selecting a region (--geometry). Example:#ffffffff-o,--output <OUTPUT>β capture a specific output/display by name. use--list-outputsto discover names π--choose-outputβ present a fuzzy selector for output/display selection. so cozy.--toplevel <Identifier>,--window <Identifier>β capture a specific toplevel window identified by itsidentifierstring. use--list-toplevelsto discover available strings.--choose-toplevel,--choose-windowβ present a fuzzy selector for toplevel/window selection.
π₯ Capture options (how to capture)
-c,--cursorβ include the cursor in the screenshot. the little guy deserves to be seen π--no-freezeβ do not freeze the screen when selecting a region (--geometry) or a point (--color). selection is done on the live display; the capture is taken after selection. Config:[base] freeze(seewayshot(5)).--delay MSβ wait MS milliseconds before taking the screenshot. no delay when omitted. Config:[base] delay(seewayshot(5)).
π Output options (where/how to save the image)
-e,--encoding,--extension,--format,--file-format <FILE_EXTENSION>β set the image encoder. without this option, encoding is either inferred from the output filename or defaults topng. valid arguments:jpgpng(default)ppmqoiwebpavif(requiresaviffeature, enabled by default)jxl(requiresjxlfeature, enabled by default)
--file-name-format <FORMAT>β format string for the output file name. refer to chrono strftime formatting rules:https://docs.rs/chrono/latest/chrono/format/strftime/index.html
Example: --file-name-format "%Y_%m_%d-%H_%M_%S"
Default: wayshot-%Y_%m_%d-%H_%M_%S
--clipboardβ copy the screenshot to the Wayland clipboard. wayshot forks a child process that serves the image until the clipboard is overwritten π«Ά
Requires the clipboard feature (enabled by default).
π Notification options
--silent,--no-notificationsβ suppress the desktop notification after a screenshot.
Requires the notifications feature (enabled by default).
π Global options
--config <PATH>β path to the config file. defaults to:$XDG_CONFIG_HOME/wayshot/config.toml$HOME/.config/wayshot/config.tomlwhen$XDG_CONFIG_HOMEis unset- built-in defaults when no file is found
Example: wayshot --config config.toml
--log-level <LOG_LEVEL>β log level written to stderr. possible values:trace,debug,info,warn,error
Default value: info
Requires the logger feature (enabled by default).
π§ FEATURES π§
wayshot supports optional Cargo features, bestie. all features are enabled by default in the official binary β¨ to build with a reduced set, use --no-default-features together with --features:
cargo build --no-default-features --features clipboard,logger
Available features: avif, clipboard, color_picker, completions, jpeg, jxl, logger, notifications, pnm, qoi, selector, webp
π SEE ALSO π
β AUTHORS β
Maintained by Shinyzenith <aakashsensharma@gmail.com> π for more information about development, see https://github.com/waycrate/wayshot.
okay that's the whole page, bestie β go forth and screenshot slay π β¨
this masterpiece lives at github.com/waycrate/wayshot, dated 1980-01-01, and the manual name is wayshot(1). periodt π
π¦ where this page comes from
- nixpkgs unstable: wayshot 1.6.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms