diff options
Diffstat (limited to 'scripts/xclip2png')
-rwxr-xr-x | scripts/xclip2png | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/xclip2png b/scripts/xclip2png new file mode 100755 index 0000000..9347981 --- /dev/null +++ b/scripts/xclip2png @@ -0,0 +1,6 @@ +#!/bin/sh +filename=$(date +%d_%m_%Y) +if [[ "$1" ]] ; then + filename="$1" +fi +xclip -selection clipboard -t image/png -o > $filename |