Commit 26f855d

xxwhirlpool  ·  2026-04-14 14:47:00 -0400 EDT
parent f630455
img management in term
2 files changed,  +13, -0
+4, -0
......@@ -0,0 +1,4 @@
1+#!/usr/bin/env bash
2+
3+xclip -sel clip -target image/png -o
4+
+9, -0
......@@ -0,0 +1,9 @@
1+#!/usr/bin/env bash
2+
3+tempfile="/tmp/$(date '+%Y-%m-%d__%I_%M%p').png"
4+
5+xclip -sel clip -target image/png -o > "$tempfile"
6+
7+echo "$tempfile" | perl -pe "chomp if eof" | xclip -sel clipboard
8+
9+kitten icat "$tempfile"