mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-20 18:57:12 +00:00
Disk: Show disk name when subtitle is disabled
This commit is contained in:
6
neofetch
6
neofetch
@@ -1748,7 +1748,11 @@ get_disk() {
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
# Append '(disk mount point)' to the subtitle.
|
# Append '(disk mount point)' to the subtitle.
|
||||||
prin "${subtitle:+${subtitle} (${disk_sub})}" "$disk"
|
if [[ -z "$subtitle" ]]; then
|
||||||
|
prin "${disk_sub}" "$disk"
|
||||||
|
else
|
||||||
|
prin "${subtitle} (${disk_sub})}" "$disk"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user