1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-05 08:19:03 -08:00
rc/sh/scropt

5 lines
146 B
Text
Raw Normal View History

2013-06-28 05:22:14 -07:00
#!/usr/bin/env bash
local now=$(date +%F_%H-%M-%S)
2015-04-13 18:03:56 -07:00
scrot ~/$now.png -e "optipng -quiet \$f" "$@" \
2013-06-28 05:22:14 -07:00
&& mv ~/$now.png ~/Dropbox/Public/screenshots/