From bb47b580104052a6c1cfaf46fde4570060d1a19c Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Sat, 22 Jan 2022 01:14:16 +0100 Subject: init --- convert_icons.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 convert_icons.sh (limited to 'convert_icons.sh') diff --git a/convert_icons.sh b/convert_icons.sh new file mode 100755 index 0000000..ae9a204 --- /dev/null +++ b/convert_icons.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +set -e + +ROOT_DIR=$(dirname -- "$0") +ICONS_DIR=$ROOT_DIR/mbgui/icons +FEATHER_DIR=$ROOT_DIR/feather + +ICONS_16="inbox folder mail trash flag file eye-off" + +mkdir -p $ICONS_DIR + +for i in $ICONS_16; do + convert -background none $FEATHER_DIR/$i.svg \ + -geometry 16x16 $ICONS_DIR/$i-16.png +done -- cgit v1.2.3-70-g09d2