A fork of the Materia GTK theme.

By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

 render-bits.sh

View raw Download
text/x-shellscript • 325 B
Bourne-Again shell script, ASCII text executable
        
            
1
#! /bin/bash
2
#
3
# Yeah this script is pretty bad and ugly, so?
4
#
5
INKSCAPE=/usr/bin/inkscape
6
SVG=assets.svg
7
LISTFILE=assets.txt
8
for filename in `cat $LISTFILE`
9
do
10
DIR=`echo $filename | cut -f1 -d '/'`
11
if [ '!' -d $DIR ];
12
then mkdir $DIR;
13
fi
14
ID=`echo $filename | tr '/' '_'`
15
$INKSCAPE $SVG -i $ID -e $filename.png
16
done
17