Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thatonecalculator/screensht

hyprland screenshot utility using grimblast
https://github.com/thatonecalculator/screensht

editing-image grim hyprland imagemagick screenshot screenshot-utility screenshots wayland wlr wlroots

Last synced: 17 days ago
JSON representation

hyprland screenshot utility using grimblast

Awesome Lists containing this project

README

        

# screensht

Utility to make screenshots on wlroots compositors look pretty

Based on https://gist.github.com/arnvgh/01b204df3229ed8c41cfd6ed847bb545

I use this for my screenshots, some people ask how I make them so here it is

## Usage

- `screensht area` for an area (or click on a window to get that window).
- `screensht full` for a full screenshot of your active display.
- Screenshots are automatically copied to the clipboard. Click the notification to view the screenshot, or click the "Edit" button to edit the screenshot.
- Lines 5-26 in `screensht` are used for user configuration.

Settings can be changed directly at the top of the script.

## Dependencies

- [`grimblast`](https://github.com/hyprwm/contrib/blob/main/grimblast/grimblast) for screenshotting
- [`hyprctl`](https://wiki.hyprland.org/Configuring/Using-hyprctl/) (part of [Hyprland](hyprland.org/)) for changing decoration settings while taking a screenshot
- [`satty`](https://github.com/gabm/Satty) or [`swappy`](https://github.com/jtheoof/swappy) for optional screenshot editing
- [`imagemagick`](https://imagemagick.org/index.php) for image processing
- [`wl-copy`](https://github.com/bugaevc/wl-clipboard) for clipboard management (`wl-clipboard` and `wl-clipboard-rs` work)
- [`libnotify`](https://gitlab.gnome.org/GNOME/libnotify) to send notifications (and a compatible notification daemon, preferabbly one with button support like [`swaync`](https://github.com/ErikReider/SwayNotificationCenter))

Here's a screenshot of screensht using screensht:

![image](https://github.com/ThatOneCalculator/screensht/assets/44733677/2f9edb94-21fc-4966-ad9e-69741aabb800)

And a screenshot of a notification of a screenshot taken with screensht taken with screensht:

![image](https://github.com/ThatOneCalculator/screensht/assets/44733677/573523df-5f1f-49d3-96c7-299c76c6c64e)