view gtk-2.0/render-bits.sh @ 113:3a790d4649eb default tip

Fix GTK4/Adwaita outline and background issues * Views are now used in popovers but shouldn't have "normal" view background colour * Flat buttons should be flat, not bordered/outlines * Spinbuttons in lists don't need outlines on their buttons
author IBBoard <dev@ibboard.co.uk>
date Sun, 01 May 2022 11:34:31 +0100
parents 043c874084ba
children
line wrap: on
line source

#! /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 -b "#C6C6C6"
done