add 7inch setting

pull/115/head
KM4ACK 2020-07-31 08:31:10 -05:00
rodzic b8105e9b2d
commit 4dae48f184
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -15,7 +15,7 @@ INFO=$(yad --form --width=420 --text-align=center --center --title="Preferences"
--image $LOGO --window-icon=$LOGO --image-on-top --separator="|" --item-separator="|" \
--text="<b>Conky Preferences</b>\r\rThis only changes the call sign in conky." \
--field="Call Sign" "$CALL" \
--field="Conky Size":CB "conky-small|conky-medium|conky-large" \
--field="Conky Size":CB "conky-small|conky-medium|conky-large|conky-7inch" \
--field="C or F":CB "C|F" \
--button="Exit":1 \
--button="Continue":2)
@ -50,6 +50,9 @@ ${font Arial:bold:size=10}${color White}Temp: $alignr ${exec /opt/vc/bin/vcgencm
elif [ "$TEMP" = 'C' ] && [ "$CS" = 'conky-small' ]; then
#delete F line
echo
elif [ "$TEMP" = 'C' ] && [ "$CS" = 'conky-7inch' ]; then
#delete F line
echo
sed -i '/vcgencmd/d' $TEMPFILE
#add cel line
sed -i '/#TEMP/a \