Skip to content

Instantly share code, notes, and snippets.

@zviryatko
Last active October 15, 2016 08:50
Show Gist options
  • Save zviryatko/3cd4947a0fdfa3ebb33a to your computer and use it in GitHub Desktop.
Save zviryatko/3cd4947a0fdfa3ebb33a to your computer and use it in GitHub Desktop.
Take screenshot and save to Dropbox
#!/bin/bash
FILE="$HOME/Dropbox/Public/screenshot/screenshot-$(date +%F_%H:%M:%S).png"
import $FILE && dropbox sharelink $FILE | parcellite -c
# Or use xclip instead of parcellite
# import $FILE && dropbox puburl $FILE | xclip -selection clipboard
# For Kde4 & Klipper use this bash-script
# https://github.com/milianw/shell-helpers/blob/master/clipboard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment