From efe4b81b3919d70ddf3029ec6fe580b3812114eb Mon Sep 17 00:00:00 2001 From: eggy Date: Sat, 12 Aug 2017 22:39:28 +0200 Subject: [PATCH] inkscape vorlage und script fuer swirls hinzugefuegt --- sourcen/debian-swirl-script.sh | 37 ++ sourcen/debian-swirl.svg | 1008 ++++++++++++++++++++++++++++++++ 2 files changed, 1045 insertions(+) create mode 100755 sourcen/debian-swirl-script.sh create mode 100644 sourcen/debian-swirl.svg diff --git a/sourcen/debian-swirl-script.sh b/sourcen/debian-swirl-script.sh new file mode 100755 index 0000000..76e2efc --- /dev/null +++ b/sourcen/debian-swirl-script.sh @@ -0,0 +1,37 @@ +#!/bin/bash +string='forum_link_1.gif,swirlrot,pfeilrot +forum_link.gif,swirlrot,pfeilrot +forum_read_1.gif,swirlgrau, +forum_read.gif,swirlgrau, +forum_read_locked_1.gif,swirlgrau,schloss +forum_read_locked.gif,swirlgrau,schloss +forum_read_subforum_1.gif,swirlgrau,plusgrau +forum_read_subforum.gif,swirlgrau,plusgrau +forum_unread_1.gif,swirlrot, +forum_unread.gif,swirlrot, +forum_unread_locked_1.gif,swirlrot,schloss +forum_unread_locked.gif,swirlrot,schloss +forum_unread_subforum_1.gif,swirlrot,plusrot +forum_unread_subforum.gif,swirlrot,plusrot' + + + +oldIFS="$IFS" +IFS=' +' +lines=( $string ) +for line in "${lines[@]}" + do + IFS=',' + zeile=( $line ) + if [ -n "${zeile[2]}" ]; then + echo "inkscape debian-swirl.svg -i ${zeile[1]} -j -C --export-png=${zeile[0]}_1" + echo "inkscape debian-swirl.svg -i ${zeile[2]} -j -C --export-png=${zeile[0]}_2" + echo "composite ${zeile[0]}_1 ${zeile[0]}_2 ${zeile[0]}" + echo "rm ${zeile[0]}_1" + echo "rm ${zeile[0]}_2" + + else + echo "inkscape debian-swirl.svg -i ${zeile[1]} -j -C --export-png=${zeile[0]}" + fi +done diff --git a/sourcen/debian-swirl.svg b/sourcen/debian-swirl.svg new file mode 100644 index 0000000..e983aa6 --- /dev/null +++ b/sourcen/debian-swirl.svg @@ -0,0 +1,1008 @@ + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 2.39.2