dot/scripts/screenshot

3 lines
125 B
Bash
Executable File

#!/bin/bash
maim -su /dev/stdout | tee $(date +"$HOME/pics/screenshot/%F_%T.png") | xclip -selection clipboard -t image/png