Skip to content

Instantly share code, notes, and snippets.

@kalebpace
Created April 13, 2018 06:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kalebpace/8a0a7911a9ca95e23e5712392271b9eb to your computer and use it in GitHub Desktop.
Save kalebpace/8a0a7911a9ca95e23e5712392271b9eb to your computer and use it in GitHub Desktop.
Screenshot script that can be mapped to a shortcut. Rectangle select and copies straight to clipboard.
#!/bin/bash
PIC=~/Pictures/temp.png
sleep 0.2; scrot -s $PIC
xclip -selection clipboard -t image/png -i < $PIC
rm $PIC
@EliCDavis
Copy link

Doesn't work on Windows 0/5 stars

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment