mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-22 11:39:53 +00:00
Disk: Remove empty var handling
This commit is contained in:
2
neofetch
2
neofetch
@@ -1553,7 +1553,7 @@ get_disk() {
|
|||||||
disk_total_per="${disks[11]}"
|
disk_total_per="${disks[11]}"
|
||||||
|
|
||||||
# Put it all together
|
# Put it all together
|
||||||
disk="${disk_used:+${disk_used} / }${disk_total} ${disk_total_per:+(${disk_total_per})}"
|
disk="${disk_used} / ${disk_total} (${disk_total_per})"
|
||||||
|
|
||||||
# Bar
|
# Bar
|
||||||
case "$disk_display" in
|
case "$disk_display" in
|
||||||
|
|||||||
Reference in New Issue
Block a user