diff options
Diffstat (limited to '.local/bin/wscrot')
-rwxr-xr-x | .local/bin/wscrot | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.local/bin/wscrot b/.local/bin/wscrot new file mode 100755 index 0000000..2970713 --- /dev/null +++ b/.local/bin/wscrot @@ -0,0 +1,6 @@ +#!/usr/bin/env sh + +p="~/pictures/scrot" +cmd="mv \$f ${p} && notify-send \"Screenshot\" \"Saved to ${p}/\$f\"" + +scrot -bsz window-%Y%m%d%H%M%S.png -e "${cmd}" |