mirror of
https://github.com/eepykate/fet.sh.git
synced 2026-10-22 11:36:03 +00:00
Merge pull request #10 from elkowar/feature/customize_seperator
make seperator between key and value configurable via an env variable
This commit is contained in:
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