dots


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