dotfiles/.scripts/cast_screenshot

4 lines
104 B
Bash
Executable File

#!/bin/sh
scrot -s -e 'xclip -selection clipboard -t "image/png" < $f && mv $f ~/Pictures/screenshots'