From 93af8e454796178e42e205cde465d58022764247 Mon Sep 17 00:00:00 2001 From: Stephen Date: Fri, 27 Nov 2020 14:34:46 -0800 Subject: [PATCH] fix linux extra pipe --- functions | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/functions b/functions index d5912d6..90ee8d6 100644 --- a/functions +++ b/functions @@ -28,6 +28,10 @@ function shownetinfo() { } function batt() { + tput setaf 7 + tput bold + echo -en " | " + tput sgr0 tput setaf 7; tput bold; echo -en "Bat: " tput sgr0 tput setaf 7 @@ -41,8 +45,5 @@ function lab() { tput sgr0 tput setaf 7 echo -en $(curl -s https://thewhitehat.club/api/v1/status | jq ".data.status" | tr -d "\"") - tput setaf 7 - tput bold - echo -en " | " tput sgr0 }