How to Take Screenshots in Hyprland
Taking screenshots in Hyprland is straightforward. Install the following tools:
- grim - Screenshot utility for Wayland
- slurp - Region selection tool for Wayland compositors
- wl-clipboard - Clipboard utilities for Wayland
Install them with:
sudo pacman -S grim slurp wl-clipboard
I use the PRINT key as my screenshot hotkey.
Add the following to your hyprland.conf:
bind = , PRINT, exec, grim -g "$(slurp)" - | wl-copy
This command lets you select a region on the screen and automatically copies the screenshot to your clipboard.
Cheers.
This post is part of a series. Read the previous part: Installing and configuring Hyprland on a Surface Pro 7.
Other posts in this series: