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

4 lines
141 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/