1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-05 02:29:06 -08:00
rc/sh/scropt
2015-04-13 18:03:56 -07:00

4 lines
146 B
Bash
Executable file

#!/usr/bin/env bash
local now=$(date +%F_%H-%M-%S)
scrot ~/$now.png -e "optipng -quiet \$f" "$@" \
&& mv ~/$now.png ~/Dropbox/Public/screenshots/