diff gtk-2.0/render-bits.sh @ 0:a48477723cfe

Base Adwaita theme for GTK 3.16 https://github.com/GNOME/gnome-themes-standard/tree/gnome-3-14/themes/Adwaita @ 7c9d684 with gtk-3.0 directory replaced with https://github.com/GNOME/gtk/tree/gtk-3-16/gtk/theme/Adwaita @ ff9ee56
author IBBoard <dev@ibboard.co.uk>
date Sat, 09 Apr 2016 20:21:23 +0100
parents
children 043c874084ba
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gtk-2.0/render-bits.sh	Sat Apr 09 20:21:23 2016 +0100
@@ -0,0 +1,16 @@
+#! /bin/bash
+#
+# Yeah this script is pretty bad and ugly, so?
+#
+INKSCAPE=/usr/bin/inkscape
+SVG=adwaita-bits.svg
+LISTFILE=bits-list.txt
+for filename in `cat $LISTFILE`
+do
+	DIR=`echo $filename | cut -f1 -d '/'`
+	if [ '!' -d $DIR ]; 
+		then mkdir $DIR; 
+	fi
+	ID=`echo $filename | tr '/' '_'`
+	$INKSCAPE $SVG -i $ID -e $filename.png
+done