tPlumb twimg as image. - plumber - simple plumber tool
HTML git clone https://git.parazyd.org/plumber
DIR Log
DIR Files
DIR Refs
---
DIR commit b34bf4f55dbabcf8796b0a395a8bc7b80f9e8a33
DIR parent 9a21075daadb9044c460bc378fe00a7a84495fe9
HTML Author: parazyd <parazyd@dyne.org>
Date: Thu, 14 May 2020 00:06:55 +0200
Plumb twimg as image.
Diffstat:
M p | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
DIR diff --git a/p b/p
t@@ -44,7 +44,8 @@ gopher://*)
http://*|https://*)
case "$clip" in
- *.jpg|*.jpeg|*.JPG|*.JPEG|*.png|*.PNG)
+ *.jpg|*.jpeg|*.JPG|*.JPEG|*.png|*.PNG|\
+ *twimg.com*)
curl -Ls "$clip" | feh - &
;;
*.mp4|*.MP4|*.webm|*.WEBM|*.mkv|*.MKV)