[scripts] fix: screenshot
also add header
This commit is contained in:
parent
f20223da57
commit
5d8c5ca6f4
@ -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
|
||||
|
Reference in New Issue
Block a user