Coder Social home page Coder Social logo

thatonecalculator / screensht Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 0.0 30 KB

hyprland screenshot utility using grimblast

License: MIT License

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

screensht's Introduction

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

screensht's People

Contributors

thatonecalculator avatar

Stargazers

Andrew Prentice avatar  avatar Sofa avatar Oakley avatar Abhay avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.