Created
December 7, 2012 07:46
-
-
Save Saicheg/4231551 to your computer and use it in GitHub Desktop.
Revisions
-
Saicheg revised this gist
Dec 7, 2012 . 1 changed file with 10 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,18 @@ #!/bin/bash ################ # Description: # This script will take screenshot of your desktop # or only active window ( running with -u param ), # copy it to /Dropbox/Public/share/ with uniq name # and save path to clipboard ################# # Requirements: # Dropbox # scrot # xclip ################# TSTAMP=`date +%s` IMAGEPATH=~/Dropbox/Public/share/Screenshot-$TSTAMP.png scrot $1 $IMAGEPATH dropbox puburl $IMAGEPATH | xclip -
Saicheg created this gist
Dec 7, 2012 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ #!/bin/bash # Requirements: # Dropbox # scrot # xclip TSTAMP=`date +%s` IMAGEPATH=~/Dropbox/Public/share/Screenshot-$TSTAMP.png scrot $IMAGEPATH dropbox puburl $IMAGEPATH | xclip