← 返回命令列表

Linux command

hyprshot 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Example

hyprshot -m region

Example

hyprshot -m window

Example

hyprshot -m output

Example

hyprshot -m active -m window

Freeze

hyprshot -z -m region

Example

hyprshot -o [path/to/directory] -m window

Example

hyprshot --clipboard -m output

说明

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.

参数

-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

FAQ

What is the hyprshot command used for?

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.

How do I run a basic hyprshot example?

Run `hyprshot -m region` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -m, --mode _MODE_ do in hyprshot?

Screenshot mode: region, window, output, active