From 5d8c5ca6f4bba92540f38813a40832696654663d Mon Sep 17 00:00:00 2001 From: David JULIEN Date: Tue, 3 May 2022 20:23:13 +0200 Subject: [PATCH] [scripts] fix: screenshot also add header --- .local/bin/screenshot | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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