Last active
November 10, 2019 12:47
-
-
Save dafanasiev/e91925af0c1fe1d27b60a44a28e9ecec to your computer and use it in GitHub Desktop.
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 | |
TMP_FILE=$(mktemp -u).png | |
gnome-screenshot -a -f ${TMP_FILE} | |
xclip -selection clip -t image/png ${TMP_FILE} | |
rm -f ${TMP_FILE} | |
234 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment