{"id":35143133,"url":"https://github.com/chpock/hyprsnap","last_synced_at":"2026-05-09T05:11:09.860Z","repository":{"id":326968394,"uuid":"1107281854","full_name":"chpock/hyprsnap","owner":"chpock","description":"A feature-rich Wayland screenshot utility for Linux/Hyprland. Uses slurp, grim, and rofi to capture regions, windows, or full screens with an interactive UI.","archived":false,"fork":false,"pushed_at":"2026-01-27T20:46:25.000Z","size":693,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-01-28T07:41:44.993Z","etag":null,"topics":["grim","hyprland","hyprsnap","rofi","screenshot","slurp","wayland"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chpock.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-30T22:57:20.000Z","updated_at":"2026-01-27T20:46:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/chpock/hyprsnap","commit_stats":null,"previous_names":["chpock/ck.screenshot"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/chpock/hyprsnap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chpock%2Fhyprsnap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chpock%2Fhyprsnap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chpock%2Fhyprsnap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chpock%2Fhyprsnap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chpock","download_url":"https://codeload.github.com/chpock/hyprsnap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chpock%2Fhyprsnap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32807900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["grim","hyprland","hyprsnap","rofi","screenshot","slurp","wayland"],"created_at":"2025-12-28T12:51:24.919Z","updated_at":"2026-05-09T05:11:09.854Z","avatar_url":"https://github.com/chpock.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hyprsnap\n\n**hyprsnap** is a unified, script-based screenshot utility designed specifically for the **Wayland/Hyprland** environment.\n\nIt acts as a comprehensive wrapper around existing Wayland tools, providing a seamless workflow. Instead of remembering multiple keybindings or command-line flags for different screenshot modes (window, region, monitor), `hyprsnap` allows you to press a single key and handle everything through a unified GUI menu.\n\n## Features\n\n* **Unified Workflow:** Trigger one command for all use cases. No need for separate bindings for regions, windows, or full-screen captures.\n* **Screen Freezing:** The screen is frozen immediately upon launch (using `hyprpicker`), allowing you to capture transient menus, popups, and video frames easily.\n* **Post-Capture Actions:** extensive options after selecting a region:\n  * Copy to clipboard.\n  * Save to a default location (`~/Pictures/Screenshots/`).\n  * Save as... (custom filename).\n  * Annotate (using [satty](https://github.com/Satty-org/Satty)).\n  * Edit (using [pinta](https://www.pinta-project.com/)).\n* **Smart Selection:** Easily switch between capturing a specific region, a window, the desktop (without panels), a single screen, or all monitors.\n* **Zero Configuration:** A minimal, functional interface with no config files required. It just works.\n\n## Dependencies\n\n`hyprsnap` is a shell script that relies on the following tools. Ensure they are installed on your system:\n\n* **Core/UI:**\n  * `rofi` (Menu interface)\n  * `jq` (JSON parsing for hyprctl)\n  * `imagemagick` (Image conversion)\n* **Wayland Utils:**\n  * `hyprpicker` (Screen freezing)\n  * `grim` (Screenshot capture)\n  * `slurp` (Region selection)\n  * `wl-clipboard` (Clipboard management)\n* **Editing/Annotation:**\n  * `pinta` (Image editor)\n  * `satty` (Annotation tool)\n\n## Installation\n\n### Arch Linux\nYou can install `hyprsnap` directly from the AUR:\n\n```bash\nyay -S hyprsnap\n```\n\n### Manual Installation\nIf you are not using Arch Linux, ensure all dependencies are installed, then simply download the script and place it in your `$PATH`:\n\n```bash\nchmod +x hyprsnap\nsudo cp hyprsnap /usr/local/bin/\n```\n\n## Configuration\n\nTo use `hyprsnap` with Hyprland, add the following binding to your `hyprland.conf`:\n\n```ini\nbind = , Print, exec, hyprsnap\n```\n\nOnce reloaded, simply press the `Print Screen` (PrtSc) key to start the utility.\n\n## Usage\n\n### 1. Capture \u0026 Freeze\nWhen you press the hotkey, the screen will instantly freeze and dim. You will be prompted to select an initial region using your mouse.\n\n### 2. Action Menu\nOnce a region is selected, the Main Menu appears, displaying a preview of the screenshot and a list of actions.\n\n![Main Menu Screenshot](https://raw.githubusercontent.com/chpock/hyprsnap/assets/main.png)\n\n**Available Actions:**\n* **Copy to clipboard:** Copies the image to your clipboard and exits.\n* **Save:** Saves the image to `~/Pictures/Screenshots/` with a timestamped filename.\n* **Save as...:** Prompts for a custom filename before saving.\n* **Annotate:** Opens the screenshot in [satty](https://github.com/Satty-org/Satty) for drawing arrows, text, and blurring sensitive info.\n* **Edit:** Opens the screenshot in [pinta](https://www.pinta-project.com/) for advanced editing.\n* **Select area:** Opens the sub-menu to adjust exactly what you want to capture (see below).\n* **Make new screenshot:** Discards the current selection and lets you redraw the region.\n* **Cancel:** Exits without doing anything.\n\n### 3. Area Selection\nIf you choose **Select area** from the main menu, you can refine your capture target without restarting the tool.\n\n![Area Selection Screenshot](https://raw.githubusercontent.com/chpock/hyprsnap/assets/area.png)\n\n**Selection Modes:**\n* **Region:** The custom rectangular area you selected.\n* **Window:** Automatically detects the window best fitting your selection.\n* **Desktop:** Captures the workspace background (excluding bars/panels).\n* **Screen:** Captures the full output (including bars/panels).\n* **All screens:** Captures the combined output of all monitors (only visible on multi-monitor setups).\n\n### 4. Saving Files\nWhen choosing **Save as...**, a simple input dialog allows you to name your file.\n\n![File Naming Screenshot](https://raw.githubusercontent.com/chpock/hyprsnap/assets/save_as.png)\n\nPress `Enter` to confirm and save the file to the default directory.\n\n## Copyright\n\nCopyright (C) 2025-2026 Kostiantyn Kushnir \u003cchpock@gmail.com\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchpock%2Fhyprsnap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchpock%2Fhyprsnap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchpock%2Fhyprsnap/lists"}