Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/thatonecalculator/screensht
- Owner: ThatOneCalculator
- License: mit
- Created: 2024-04-28T04:32:02.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-22T05:03:24.000Z (5 months ago)
- Last Synced: 2024-10-11T23:09:44.071Z (about 1 month ago)
- Topics: editing-image, grim, hyprland, imagemagick, screenshot, screenshot-utility, screenshots, wayland, wlr, wlroots
- Language: Shell
- Homepage:
- Size: 29.3 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)