oops there was a debug line...
This commit is contained in:
parent
2ae20041ba
commit
3cb804f95b
2
neofetch
2
neofetch
|
@ -1508,14 +1508,12 @@ getdisk () {
|
||||||
disk_total=${disk_total/G}
|
disk_total=${disk_total/G}
|
||||||
|
|
||||||
if [[ "$disk_used" == *"T" ]]; then
|
if [[ "$disk_used" == *"T" ]]; then
|
||||||
touch "terabyte_used"
|
|
||||||
disk_used=${disk_used/T}
|
disk_used=${disk_used/T}
|
||||||
disk_used=$(echo "${disk_used} * 1000" | bc)
|
disk_used=$(echo "${disk_used} * 1000" | bc)
|
||||||
disk_used=${disk_used/'.'*}
|
disk_used=${disk_used/'.'*}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$disk_total" == *"T" ]]; then
|
if [[ "$disk_total" == *"T" ]]; then
|
||||||
touch "terabyte_total"
|
|
||||||
disk_total=${disk_total/T}
|
disk_total=${disk_total/T}
|
||||||
disk_total=$(echo "${disk_total} * 1000" | bc)
|
disk_total=$(echo "${disk_total} * 1000" | bc)
|
||||||
disk_total=${disk_total/'.'*}
|
disk_total=${disk_total/'.'*}
|
||||||
|
|
Reference in New Issue