From 3d615c8c91a83371a3c997033d288dc8a27e8748 Mon Sep 17 00:00:00 2001 From: elkowar <5300871+elkowar@users.noreply.github.com> Date: Tue, 18 Aug 2020 19:28:44 +0200 Subject: [PATCH] make seperator between key and value configurable via an env variable --- fet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fet.sh b/fet.sh index 8ad89c0..887540b 100755 --- a/fet.sh +++ b/fet.sh @@ -100,7 +100,7 @@ read -r model < /sys/devices/virtual/dmi/id/product_name [ $# -gt 0 ] && pkgs=$# print() { - [ "$2" ] && printf '\033[3%sm%6s\033[0m ~ %s\n' "${accent:-4}" "$1" "$2" + [ "$2" ] && printf '\033[9%sm%6s\033[0m%b%s\n' "${accent:-4}" "$1" "${separator:- ~ }" "$2" }