Skip to content

ThatOneCalculator/screensht

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

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 for screenshotting
  • hyprctl (part of Hyprland) for changing decoration settings while taking a screenshot
  • satty or swappy for optional screenshot editing
  • imagemagick for image processing
  • wl-copy for clipboard management (wl-clipboard and wl-clipboard-rs work)
  • libnotify to send notifications (and a compatible notification daemon, preferabbly one with button support like swaync)

Here's a screenshot of screensht using screensht:

image

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

image