updated font

This commit is contained in:
wt committed 2025-03-23 17:55:27 +07:00
1 parent 0b5bd9cc9f
commit d5ec20cc50
4 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ const computeCPU = (): string => {
previousCpuData = currentCpuData;
const cpuUsagePercentageString =
" " + Math.floor(cpuUsagePercentage) + "%";
" " + Math.floor(cpuUsagePercentage) + "%";
return cpuUsagePercentageString;
};
+1 -1
View File
@@ -24,7 +24,7 @@ const calculateRamUsage = (): string => {
usedRam = isNaN(usedRam) || usedRam < 0 ? 0 : usedRam;
const ramstring =
" " + Math.floor((usedRam / totalRamInBytes) * 100) + "%";
" " + Math.floor((usedRam / totalRamInBytes) * 100) + "%";
return ramstring;
} catch (error) {
+1 -1
View File
@@ -10,7 +10,7 @@ const computeStorage = (): string => {
const available = currentFsUsage.bavail * currentFsUsage.block_size;
const used = total - available;
const storagestring = " " + Math.floor((used / total) * 100) + "%";
const storagestring = " " + Math.floor((used / total) * 100) + "%";
return storagestring;
} catch (error) {