mirror of
https://github.com/eepykate/fet.sh.git
synced 2026-10-15 10:29:31 +00:00
make seperator between key and value configurable via an env variable
This commit is contained in:
1 parent
8c30f4a730
commit
3d615c8c91
1 file changed
+1
-1
@@ -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"
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user