Skip to content

misery8/hyprshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hyprshot

GitHub tag (latest by date) Status Wayland Hyprland Rust GTK4

A fast, annotation-enabled screenshot tool for Hyprland (Wayland), built with Rust and GTK 4. Capture, annotate, and copy — all in seconds.

Hyprshot Editor Preview

  • Instant launcher via PrintScreen
  • Pure Memory Flow - No temporary files, everything is piped directly to the clipboard.
  • Smart Clipboard - Integrated daemon provides both PNG and BMP targets for seamless pasting into Windows-native app (VMs, RDP).
  • Rich Annotations - Built-in arrows, rectangles, and blur tool to hide sensitive data.
  • Two modes:
    • Quick capture: select -> release -> done
    • Editor mode: Ctrl + select -> annotate -> Ctrl+S to copy

Perfect for quick sharing, bug reporting, or visual notes — without leaving your keyboard.


Usage

Quick Capture

  1. Press PrintScreen
  2. Drag to select an area
  3. Release mouse -> image is copied to clipboard

Editor Mode

  1. Press PrintScreen
  2. Drag to select an area
  3. Press Ctrl -> editor panel appears
  4. Draw shapes, blur sensitive data, adjust selection
  5. Press Ctrl+S -> annotated image is copied to clipboard

Shortcuts

  • Ctrl+Z: Undo last action
  • Esc: Exit without saving

No UI windows, no dialogs — just pure speed.


Installation

From Source

Make sure you have:

  • Rust (1.75+)
  • gtk4, glib2, cairo development headers
git clone [https://github.com/misery8/hyprshot.git](https://github.com/misery8/hyprshot.git)
cd hyprshot
cargo build --release
sudo install -Dm755 target/release/hyprshot /usr/bin/hyprshot
sudo install -Dm755 target/release/clipboard /usr/lib/hyprshot/clipboard

Dependencies

  • Runtime:
    • gtk4, glib2, cairo
    • grim (essential for screen capture)

Configuration (Hyprland)

Add to your ~/.config/hypr/hyprland.conf:

bindl = ,Print, exec, hyprshot screen

License

GPL-3.0-or-later - free and open for all.

Made with ❤️ for the Hyprland community.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors