Screenshot utility for Hyprland.
You can take screenshots of windows, regions and monitors.
Clone the repo.
git clone https://github.com/nilsojunior/hyprcap.git
cd hyprcapBuild with cargo.
cargo build --releaseAdd to path.
sudo mv target/release/hyprcap /usr/bin- grim
- slurp
- wl-clipboard
- jq
- notification daemon
See the help command.
hyprcap -hScreenshot a window.
hyprcap -m windowYou can move your cursor out of the screen for the screenshot.
hyprcap -m window --move-cursorIf you use Hyprshade you can disable your current shader for the screenshot.
hyprcap -m window --disable-shaderHyprcap will look for the HYPRCAP_DIR enviroment variable to set a directory for
the screenshots.
If HYPRCAP_DIR is not set, it will look for XDG_PICTURES_DIR.
Iff XDG_PICTURES_DIR is not set, it will fallback to HOME.