From 8554cc81ae57daed4a975d3d864b995fd0e162ac Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Mon, 7 Sep 2015 00:12:54 +0200 Subject: ported icon theme preview from feh to imagemagicks montage --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a55858e..ac4cf99 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,8 @@ all: clean generate: preview.png versions update-cache preview.png: - $(shell find "scalable/" -type f -name "*.png" -not -path ".git/*" -not -path 'scalable/animations/*' -not -path 'scalable/mimetypes/*' | sort | feh -m -y 96 -E 96 -s -p -b trans -O preview.png -f-) + #$(shell find "scalable/" -type f -name "*.png" -not -path ".git/*" -not -path 'scalable/animations/*' -not -path 'scalable/mimetypes/*' | sort | feh -m -y 96 -E 96 -s -p -b trans -O preview.png -f-) + $(shell for path in $(ls -d scalable/*/); do montage -label '\n%t' $(find $path -type f) -tile 5 -background white -geometry 96x96+24+24 doc/img/$(echo $path | cut -d "/" -f2).jpg; done) preview_mimetypes.png: $(shell find "scalable/mimetypes" -type f -name "*.png" | sort | feh -m -y 256 -E 256 -W 8192 -s -p -b trans -O preview_mimetypes.png -f-) -- cgit v1.2.3