update some stuff idk
This commit is contained in:
parent
d7ab0ae8de
commit
ee50eb197a
4 changed files with 100 additions and 30 deletions
|
@ -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}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue