From b125dc8b3676b723ed1d0f8d3c0687132e0bc1f8 Mon Sep 17 00:00:00 2001 From: openoms <43343391+openoms@users.noreply.github.com> Date: Thu, 1 Oct 2020 10:11:10 +0100 Subject: [PATCH] LCD: add ASCII art for JMstats (#1607) --- home.admin/00infoBlitz.sh | 14 ++++++++------ home.admin/config.scripts/bonus.joinmarket.sh | 2 +- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/home.admin/00infoBlitz.sh b/home.admin/00infoBlitz.sh index 146a419d..2f73771f 100755 --- a/home.admin/00infoBlitz.sh +++ b/home.admin/00infoBlitz.sh @@ -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}" \ diff --git a/home.admin/config.scripts/bonus.joinmarket.sh b/home.admin/config.scripts/bonus.joinmarket.sh index c24b591b..44b3be47 100755 --- a/home.admin/config.scripts/bonus.joinmarket.sh +++ b/home.admin/config.scripts/bonus.joinmarket.sh @@ -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