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

+2
View File
@@ -5,6 +5,8 @@ window.Bar {
background: transparent;
color: #{"@theme_fg_color"};
font-weight: bold;
font-family: 'JetBrainsMono Nerd Font Mono';
font-size: 13px;
> centerbox {
background: transparent;
+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) {