summaryrefslogtreecommitdiff
path: root/scripts/screenshot
blob: 3aa7f4702a41c945fe995f971c53a642bd91f54c (plain)
1
2
3
4
#!/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")