From bc2a62d82bb8aed3136f254c68776ad342060977 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Fri, 7 Aug 2015 15:17:37 +0200 Subject: fiddled around with the theme file, added some symbolic links, because some symbols were missing under xfce and replaced the audio-volume-* icons with a beautiful vu meter --- generate.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 generate.sh (limited to 'generate.sh') diff --git a/generate.sh b/generate.sh new file mode 100755 index 0000000..d1737fb --- /dev/null +++ b/generate.sh @@ -0,0 +1,24 @@ +#!/bin/bash +# invoke as ./generate.sh FILENAME +# it is used to generate smaller versions from the one found in scalable + + + +FILE=${1#scalable/} +PATH=$(dirname $FILE) + +for VERSION in 16x16 32x32 48x48 64x64 128x128 256x256 +do + /bin/mkdir -p "cache/$VERSION/$PATH" +done + + +/usr/bin/convert $1 \ + \( -clone 0 -resize 16x16 -write cache/16x16/$FILE \) \ + \( -clone 0 -resize 32x32 -write cache/32x32/$FILE \) \ + \( -clone 0 -resize 48x48 -write cache/48x48/$FILE \) \ + \( -clone 0 -resize 64x64 -write cache/64x64/$FILE \) \ + \( -clone 0 -resize 128x128 -write cache/128x128/$FILE \) \ + \( -clone 0 -resize 256x256 -write cache/256x256/$FILE \) \ + null: + -- cgit v1.2.3