dot/scripts/.scripts/screenshot_fs

5 lines
256 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 -u /dev/stdout | tee >(xclip -selection clipboard -t image/png) > $(date +"/home/david/pics/screenshot/%F_%T.png")