From 062610bea43b8b31d30039e037f72506d78d5879 Mon Sep 17 00:00:00 2001 From: navewindre Date: Mon, 16 Jun 2025 04:03:14 +0200 Subject: add themes n slackware bootstrap --- icons/Chicago95/apps/scalable/links.sh | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 icons/Chicago95/apps/scalable/links.sh (limited to 'icons/Chicago95/apps/scalable/links.sh') diff --git a/icons/Chicago95/apps/scalable/links.sh b/icons/Chicago95/apps/scalable/links.sh new file mode 100644 index 0000000..302bc77 --- /dev/null +++ b/icons/Chicago95/apps/scalable/links.sh @@ -0,0 +1,26 @@ +#!/bin/bash +rm *.svg +rm *.png +cp -avn ../48/* ./ +cp -avn ../32/* ./ + +echo "[+] Generating SVGs" + +for i in `find ./ -type f|grep -i "\.png"` +do + pixel2svg.py --squaresize=20 $i + rm $i +done + +echo "[+] Making links" + +for i in `find . -type l` +do + newfile=`echo $i|sed 'p;s/\.png/\.svg/'|grep "\.svg"` + target=`ls -l $i|awk '{print $11}'|sed 'p;s/\.png/\.svg/'|grep "\.svg"` + echo "Newfile: $newfile" + echo "Target: $target" + ln -s $target $newfile + rm $i +done + -- cgit v1.2.3