add a couple scripts to bin
This commit is contained in:
parent
28673aac9c
commit
2af44fe39f
2 changed files with 43 additions and 0 deletions
8
_bin/screengrab
Executable file
8
_bin/screengrab
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/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
|
||||
|
||||
[ -s ${TARGET} ] || rm ${TARGET}
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue