This commit is contained in:
commit
69f77d2c80
1 changed files with 2 additions and 2 deletions
4
neofetch
4
neofetch
|
@ -3752,7 +3752,7 @@ get_disk() {
|
||||||
|
|
||||||
# Append '(disk mount point)' to the subtitle.
|
# Append '(disk mount point)' to the subtitle.
|
||||||
if [[ "$subtitle" ]]; then
|
if [[ "$subtitle" ]]; then
|
||||||
prin "$subtitle${disk_sub:+ ($disk_sub)}" "$disk"
|
prin "$subtitle" "${disk_sub:+ ${bold}($disk_sub)${reset}} $disk"
|
||||||
else
|
else
|
||||||
prin "$disk_sub" "$disk"
|
prin "$disk_sub" "$disk"
|
||||||
fi
|
fi
|
||||||
|
@ -4882,7 +4882,7 @@ dynamic_prompt() {
|
||||||
# If the ascii art is taller than the info.
|
# If the ascii art is taller than the info.
|
||||||
((lines=lines>info_height?lines-info_height+1:1))
|
((lines=lines>info_height?lines-info_height+1:1))
|
||||||
|
|
||||||
printf -v nlines "%${lines}s"
|
printf -v nlines "%${lines}s"\
|
||||||
printf "%b" "${nlines// /\\n}"
|
printf "%b" "${nlines// /\\n}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue