LinuxCommandLibrary

hyprshot

screenshot utility designed specifically for the Hyprland Wayland compositor

TLDR

Select and screenshot a region

$ hyprshot -m region
copy
Select and screenshot a specific window
$ hyprshot -m window
copy
Select and screenshot a specific output
$ hyprshot -m output
copy
Screenshot the active window
$ hyprshot -m active -m window
copy
Freeze the screen and screenshot selected region
$ hyprshot -z -m region
copy
Screenshot to a specific output directory
$ hyprshot -o [path/to/directory] -m window
copy
Screenshot to clipboard only
$ hyprshot --clipboard -m output
copy

SYNOPSIS

hyprshot [options] -m mode

DESCRIPTION

hyprshot is a screenshot utility designed specifically for the Hyprland Wayland compositor. It provides interactive selection for regions, windows, and outputs with clipboard integration.
Modes:
- region - Select a rectangular area
- window - Select a specific window
- output - Select a monitor/output
- active - Combined with window/output for current focus
Screenshots are saved to ~/Pictures/Screenshots by default. The tool uses slurp for region selection and grim for capture.

PARAMETERS

-m, --mode MODE

Screenshot mode: region, window, output, active
-o, --output-folder DIR
Save screenshots to specified directory
-f, --filename NAME
Set output filename
--clipboard
Copy to clipboard only (don't save to file)
-z, --freeze
Freeze screen while selecting
-s, --silent
Don't send notification after screenshot
-r, --raw
Output raw image data to stdout
-d, --delay SECONDS
Wait before taking screenshot

CAVEATS

Requires Hyprland, grim, slurp, and wl-clipboard. The freeze option may not work on all systems. Window selection depends on Hyprland's client list.

HISTORY

hyprshot was created by Gustash as a convenient wrapper around screenshot tools for Hyprland users. It provides a streamlined interface compared to manually combining grim and slurp.

SEE ALSO

hyprctl(1), grim(1), slurp(1), wl-copy(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community