mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-03 16:51:29 +00:00
Compare commits
2 Commits
ae4e484d65
...
69f77d2c80
Author | SHA1 | Date | |
---|---|---|---|
|
69f77d2c80 | ||
|
52cea572b6 |
4
neofetch
4
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}"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user