xxwhirlpool
·
2026-04-14
tempimg
1#!/usr/bin/env bash
2
3tempfile="/tmp/$(date '+%Y-%m-%d__%I_%M%p').png"
4
5xclip -sel clip -target image/png -o > "$tempfile"
6
7echo "$tempfile" | perl -pe "chomp if eof" | xclip -sel clipboard
8
9kitten icat "$tempfile"