Last active
October 10, 2015 19:48
-
-
Save brycied00d/3741684 to your computer and use it in GitHub Desktop.
Linux Printscreen+Dropbox Script
This file contains 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 | |
capturefile="$HOME/Dropbox/Public/screenshot_`date +%F_%H-%M-%S`.png" | |
#echo $capturefile | |
scrot -s "$capturefile" | |
URL=$(dropbox puburl "$capturefile") | |
echo -n "$URL" | xclip -selection p | |
echo -n "$URL" | xclip -selection c | |
notify-send "Screenshot Uploaded" "Screenshot uploaded as $URL" | |
echo "$URL" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment