dot/scripts/screenshot_fs

5 lines
256 B
Text
Raw Normal View History

2021-10-09 21:20:41 +00:00
#!/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 -u /dev/stdout | tee >(xclip -selection clipboard -t image/png) > $(date +"/home/david/pics/screenshot/%F_%T.png")