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
screensht areafor an area (or click on a window to get that window).screensht fullfor 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
screenshtare used for user configuration.
Settings can be changed directly at the top of the script.
grimblastfor screenshottinghyprctl(part of Hyprland) for changing decoration settings while taking a screenshotsattyorswappyfor optional screenshot editingimagemagickfor image processingwl-copyfor clipboard management (wl-clipboardandwl-clipboard-rswork)libnotifyto send notifications (and a compatible notification daemon, preferabbly one with button support likeswaync)
Here's a screenshot of screensht using screensht:
And a screenshot of a notification of a screenshot taken with screensht taken with screensht:

