shownotes-w3m-rice/scrot_functions.txt
2013-05-24 15:14:09 -07:00

13 lines
421 B
Plaintext

# this is notes for video: http://www.youtube.com/watch?v=Hh8G1aBp8gc
# your screenshot folder location
# u can use /tmp if you want it to get delete on shutdown
export PATH_SCREENSHOT=~/Pictures
# take screenshot fullscreen, single window or draw a box
pix() { scrot -d 2 "$PATH_SCREENSHOT/fullscr_`date +'%F_%Hh%M'`.png" ;}
pix-winarea() { sleep 2 && scrot -s "$PATH_SCREENSHOT/windowed_`date +'%F_%Hh%M'`.png" ;}