mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-30 20:47:29 -05:00
fix swap usage nan
This commit is contained in:
@@ -17,7 +17,7 @@ Singleton {
|
||||
property double swapTotal: 1
|
||||
property double swapFree: 1
|
||||
property double swapUsed: swapTotal - swapFree
|
||||
property double swapUsedPercentage: swapUsed / swapTotal
|
||||
property double swapUsedPercentage: swapTotal > 0 ? (swapUsed / swapTotal) : 0
|
||||
property double cpuUsage: 0
|
||||
property var previousCpuStats
|
||||
|
||||
|
||||
Reference in New Issue
Block a user