This setup uses grim to capture pixels from the Wayland compositor and pipes the result directly into swappy, an annotation tool that lets you draw, add text, and save the final image. No intermediary files are written to disk until you explicitly save from swappy.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/matiasOliva64/dotfiles-Hyprland-fedora/llms.txt
Use this file to discover all available pages before exploring further.
Required packages
Both tools are included in the main installation command from the README:slurp is also required for region selection — it provides the interactive crosshair cursor that lets you draw a capture rectangle.
Keybindings
The bindings are defined inhypr/hyprland.conf:
| Shortcut | Action |
|---|---|
| Draw a region with your cursor, then open it in swappy | |
| Shift + Print | Capture the entire screen and open it in swappy |
Set up the screenshot directory
Swappy needs a directory to exist before it can save files. Create one (or both) of the following depending on your system locale:~/Imágenes/Screenshots) is the default for Spanish-locale Fedora installs; the English path (~/Pictures/Screenshots) is for English locales. You only need to create the one that matches your home folder layout.
How it works
Region screenshot (Print):
slurplaunches an interactive selection overlay — click and drag to define the region.grim -g "$(slurp)"captures only that region and writes raw image data to stdout (-).swappy -f -reads from stdin (-f -) and opens the annotation window.
Shift + Print):
grim -captures the entire screen and writes to stdout.swappy -f -receives it and opens the annotation window.
Swappy opens an editor window after every capture. You can draw shapes, add text labels, highlight areas, or just press Save to write the image to disk as-is.