Grimshot - Screenshot Tool for Wayland Compositors

Grimshot is a command-line screenshot tool for Wayland compositors. Learn how to copy and save screenshots of screens, areas, windows, and outputs to clipboard or files.

Grimshot

Grimshot: A Powerful Screenshot Utility for Wayland Compositors

Grimshot is a versatile command-line tool designed to simplify the process of capturing screenshots within Wayland environments, such as Sway. It offers flexible options for copying and saving screen captures directly to your clipboard or to specified files, enhancing productivity for developers and power users.

Key Grimshot Commands and Usage

Below are common examples demonstrating how to leverage Grimshot for various screenshot needs:

# Grimshot: A helper for screenshots within sway or other wayland compositor

# Copy a screenshot of the entire screen to the clipboard and notify the user
grimshot --notify copy screen

# Save a screenshot of the entire screen to a file named 'screen.png' and notify the user
grimshot --notify save screen screen.png

# Copy a screenshot of a selected area to the clipboard
grimshot copy area

# Copy a screenshot of the currently active window to the clipboard
grimshot copy active

# Copy a screenshot of a selectable window to the clipboard
grimshot copy window

# Copy a screenshot of the currently active output to the clipboard
grimshot copy output

Advanced Screenshot Capture with Grimshot

Grimshot's command-line interface allows for precise control over your screenshot captures. Whether you need to quickly grab an image for documentation, share a specific UI element, or archive a full screen, Grimshot provides an efficient solution. Its integration with notification systems ensures you are always aware of the capture status.

Further Resources for Wayland Screenshotting

For more in-depth information on Wayland and screenshot utilities, consider exploring the following resources: