update some stuff idk

This commit is contained in:
Mark Riedesel 2019-09-03 13:06:02 -05:00
parent d7ab0ae8de
commit ee50eb197a
4 changed files with 100 additions and 30 deletions

View file

@ -1,7 +1,7 @@
#!/bin/sh
mkdir -p ${HOME}/screenshot
TARGET="${HOME}/screenshot/grab-$(date +'%Y%m%d%H%M%S').png"
maim -s -n -p 1 -f png -m 10 -u | tee $TARGET | xclip -selection clipboard -t image/png
maim -s -n -o -p 1 -f png -m 10 -u | tee $TARGET | xclip -selection clipboard -t image/png
[ -s ${TARGET} ] || rm ${TARGET}