Disk: Remove empty var handling
This commit is contained in:
parent
5abba17564
commit
4cf108015c
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