Skip to content

Instantly share code, notes, and snippets.

@AndrewVos
Created January 7, 2014 13:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndrewVos/8299583 to your computer and use it in GitHub Desktop.
Save AndrewVos/8299583 to your computer and use it in GitHub Desktop.
#!/bin/bash -e
DATE=$(date +"%d-%m-%Y-%H-%M-%S")
SCREENSHOT_PATH=~/Dropbox/Public/screenshots/screenshot-$DATE.png
DROPBOX_URL=https://dl.dropboxusercontent.com/u/1207191/screenshots/screenshot-$DATE.png
shutter --select --exit_after_capture --no_session --output $SCREENSHOT_PATH
echo $DROPBOX_URL | xclip -selection c
notify-send "Stored screenshot in dropbox"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment