diff --git a/.local/bin/screenshot b/.local/bin/screenshot index 8c4c684..335f4b8 100755 --- a/.local/bin/screenshot +++ b/.local/bin/screenshot @@ -1,4 +1,17 @@ #!/usr/bin/env sh + +###################################################################### +# @author : swytch +# @file : screenshot +# @license : GPLv3 +# @created : Wednesday May 20, 2020 17:52:58 CEST +# +# @description : grab a screenshot +# @deps : scrot xclip dunstify +###################################################################### + + +sleep .1 if [ "-w" = "$1" ]; then scrot -e 'xclip -selection clipboard -t image/png -i $f && rm $f' else