LCD: add ASCII art for JMstats (#1607)

This commit is contained in:
openoms 2020-10-01 10:11:10 +01:00 committed by rootzoll
parent fa09759be4
commit b125dc8b36
2 changed files with 9 additions and 7 deletions

View File

@ -291,12 +291,15 @@ if [ $(sudo -u joinmarket pgrep -f "python yg-privacyenhanced.py $YGwallet --wal
JMstatsL3=$(sed -n 3p < "$JMstats")
JMstatsL4=$(sed -n 4p < "$JMstats")
lastLine="\
${color_gray} ${color_gray}$JMstatsL1
${color_gray} ${color_gray}$JMstatsL2
${color_gray} ${color_gray}$JMstatsL3
${color_gray} ${color_gray}$JMstatsL4"
${color_gray} _ __ _
${color_gray} \_/ \_/ ${color_gray}$JMstatsL1
${color_gray} \ | /\ | / ${color_gray}$JMstatsL2
${color_gray} / | \/ | \ ${color_gray}$JMstatsL3
${color_gray} _/^\__/^\_ ${color_gray}$JMstatsL4"
else
lastLine="${color_yellow}${ln_publicColor}${ln_external}${color_gray}"
lastLine="\
${color_yellow}
${color_yellow}${ln_publicColor}${ln_external}${color_gray}"
fi
sleep 5
@ -324,7 +327,6 @@ ${color_yellow} /' ${color_gray}
${color_yellow} ${color_gray}LND ${color_green}${ln_version} ${ln_baseInfo}
${color_yellow} ${color_gray}${ln_channelInfo} ${ln_peersInfo}
${color_yellow} ${color_gray}${ln_feeReport}
${color_yellow}
$lastLine
" \
"RaspiBlitz v${codeVersion}" \

View File

@ -125,7 +125,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
sudo -u joinmarket git clone https://github.com/openoms/joininbox.git /home/joinmarket/joininbox
# check the latest at:
# https://github.com/openoms/joininbox/releases/
sudo -u joinmarket git reset --hard v0.1.7
sudo -u joinmarket git reset --hard v0.1.8
sudo -u joinmarket cp /home/joinmarket/joininbox/scripts/* /home/joinmarket/
sudo -u joinmarket cp /home/joinmarket/joininbox/scripts/.* /home/joinmarket/ 2>/dev/null
sudo chmod +x /home/joinmarket/*.sh