kopia lustrzana https://github.com/km4ack/pi-build
add 7inch setting
rodzic
b8105e9b2d
commit
4dae48f184
|
@ -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 \
|
||||
|
|
Ładowanie…
Reference in New Issue