aboutsummaryrefslogtreecommitdiff
path: root/convert_icons.sh
diff options
context:
space:
mode:
Diffstat (limited to 'convert_icons.sh')
-rwxr-xr-xconvert_icons.sh16
1 files changed, 16 insertions, 0 deletions
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