dot/scripts/screenshot
2021-10-09 22:20:41 +01:00

4 lines
257 B
Bash
Executable file

#!/bin/bash
#sleep 0.2
#scrot -s '/home/david/pics/screenshot/%F_%T_$wx$h.png' -e 'xclip -selection clipboard -target image/png -i $f'
maim -su /dev/stdout | tee >(xclip -selection clipboard -t image/png) > $(date +"/home/david/pics/screenshot/%F_%T.png")