From 52cea572b67ffb865908730dce43e8e892923b44 Mon Sep 17 00:00:00 2001 From: Mirdarthos Date: Tue, 2 Jan 2024 17:59:48 +0200 Subject: [PATCH] Updated output of disk statistica to be more uniform with the rest. Removed unneccesary space (empty lines) bein prinnted after the output. --- neofetch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neofetch b/neofetch index 48b96d21..2c904cc6 100755 --- a/neofetch +++ b/neofetch @@ -3752,7 +3752,7 @@ get_disk() { # Append '(disk mount point)' to the subtitle. if [[ "$subtitle" ]]; then - prin "$subtitle${disk_sub:+ ($disk_sub)}" "$disk" + prin "$subtitle" "${disk_sub:+ ${bold}($disk_sub)${reset}} $disk" else prin "$disk_sub" "$disk" fi @@ -4882,7 +4882,7 @@ dynamic_prompt() { # If the ascii art is taller than the info. ((lines=lines>info_height?lines-info_height+1:1)) - printf -v nlines "%${lines}s" + printf -v nlines "%${lines}s"\ printf "%b" "${nlines// /\\n}" }