Skip to content

nilsojunior/Hyprcap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hyprcap

Screenshot utility for Hyprland.

You can take screenshots of windows, regions and monitors.

Installation

Clone the repo.

git clone https://github.com/nilsojunior/hyprcap.git
cd hyprcap

Build with cargo.

cargo build --release

Add to path.

sudo mv target/release/hyprcap /usr/bin

Dependencies

  • grim
  • slurp
  • wl-clipboard
  • jq
  • notification daemon

Usage

See the help command.

hyprcap -h

Screenshot a window.

hyprcap -m window

You can move your cursor out of the screen for the screenshot.

hyprcap -m window --move-cursor

Hyprshade

If you use Hyprshade you can disable your current shader for the screenshot.

   hyprcap -m window --disable-shader

Save Directory

Hyprcap 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.

Credits

About

Screenshot utility for Hyprland.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages