Created
April 13, 2018 06:42
-
-
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PIC=~/Pictures/temp.png | |
sleep 0.2; scrot -s $PIC | |
xclip -selection clipboard -t image/png -i < $PIC | |
rm $PIC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Doesn't work on Windows 0/5 stars