updated font
This commit is contained in:
1 parent
0b5bd9cc9f
commit
d5ec20cc50
4 files changed
+5
-3
No files matched your search
@@ -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;
|
||||
|
||||
@@ -17,7 +17,7 @@ const computeCPU = (): string => {
|
||||
previousCpuData = currentCpuData;
|
||||
|
||||
const cpuUsagePercentageString =
|
||||
" " + Math.floor(cpuUsagePercentage) + "%";
|
||||
" " + Math.floor(cpuUsagePercentage) + "%";
|
||||
|
||||
return cpuUsagePercentageString;
|
||||
};
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user