showpng - scan for images and create montage

Submitted scripts and programs
Forum rules
Your own work only.
machinebacon
Baconator
Posts: 10234
Joined: Thu Sep 16, 2010 11:03 am
Location: Chinkistan
Contact:

showpng - scan for images and create montage

Unread post by machinebacon » Wed Jun 17, 2015 11:11 pm

A variant of the 'playmp3' script. It scans the current and below directories and shows clickable thumbnails of all images in feh.

Code: Select all

#!/bin/bash
# showpng (bacon 2015)
# requires: feh
IMGLIST=~/.pnglist
shopt -s extglob globstar
printf '%s\n' **/*.@(jpg|png|jpeg) > $IMGLIST
feh -t `cat $IMGLIST`
..gnutella..

User avatar
wuxmedia
Grasshopper
Posts: 5912
Joined: Wed Oct 17, 2012 11:32 am
Location: UK
Contact:

Re: showpng - scan for images and create montage

Unread post by wuxmedia » Fri Jun 19, 2015 12:54 pm

What would anyone use this for... ;)
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
Dr_Chroot
Alfalfa
Posts: 1100
Joined: Mon Jun 09, 2014 9:49 pm
Location: among the sagebrush
Contact:

Re: showpng - scan for images and create montage

Unread post by Dr_Chroot » Fri Jun 19, 2015 8:23 pm

This... will... be... handy.
Fight internet censorship.
EFF | Tor Project | Bitcoin

"There have been times throughout American history where what is right is not the same as what is legal. Sometimes to do the right thing you have to break the law." - Edward Snowden

User avatar
a-109-107
Riesenpenis
Posts: 30
Joined: Thu May 21, 2015 9:04 am

Re: showpng - scan for images and create montage

Unread post by a-109-107 » Sat Jul 04, 2015 7:33 pm

amazing, didn't know feh was capable of this

Post Reply