Skip to content

Instantly share code, notes, and snippets.

@kalebpace
Created April 13, 2018 06:42
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