The formatting has to be cared about.
FIX :
Code: Select all
# diff -up /mnt/+mnt+sdc7+dpup-009+dpup-009.sfs/usr/local/jwmthememaker/jwmthememaker /usr/local/jwmthememaker/jwmthememaker
--- /mnt/+mnt+sdc7+dpup-009+dpup-009.sfs/usr/local/jwmthememaker/jwmthememaker
+++ /usr/local/jwmthememaker/jwmthememaker
@@ -5,9 +5,9 @@
echo 'Please choose a color' > /tmp/color.tmp
-echo "`fc-list | cut -d ":" -f 1 | sort | uniq`" > /tmp/fontlist.txt
-cat /tmp/fontlist.txt | awk '{print "<item>"$1" "$2" "$3" "$4"</item>"}' > /tmp/fontlist.txt
-FONTS=`cat /tmp/fontlist.txt`
+fc-list | cut -d ":" -f 1 | sort | uniq > /tmp/fontlist.txt
+cat /tmp/fontlist.txt | awk '{print "<item>"$1" "$2" "$3" "$4"</item>"}' > /tmp/fontlist2.txt
+FONTS="`cat /tmp/fontlist2.txt`"
WIDGET_DIR="`dirname $0`"
[ "$WIDGET_DIR" = "." ] && WIDGET_DIR="`pwd`"
@@ -120,7 +120,7 @@
<text><label>Font Name</label></text>
<combobox tooltip-text=\"Applied to all windows, taskbar and menu\">
<variable>FONT</variable>
- $FONTS
+ "$FONTS"
</combobox>
<text><label>\" Font Size \"</label></text>
<combobox tooltip-text=\"Applied to all windows, taskbar and menu\">
#