Skip to content

Commit f97f5e7

Browse files
authored
Merge pull request #326 from majormer/main
2 parents 805aee5 + 058cbaf commit f97f5e7

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

library/stats.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,13 @@ def stats():
355355
unit=" M"
356356
)
357357

358+
display_themed_value(
359+
theme_data=memory_stats_theme_data['VIRTUAL']['TOTAL'],
360+
value=int((sensors.Memory.virtual_free() + sensors.Memory.virtual_used()) / 1000000),
361+
min_size=5,
362+
unit=" M"
363+
)
364+
358365

359366
class Disk:
360367
@staticmethod

res/themes/default.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ STATS:
6868
FREE:
6969
SHOW: False
7070
SHOW_UNIT: False
71+
TOTAL:
72+
SHOW: False
73+
SHOW_UNIT: False
7174
PERCENT_TEXT:
7275
SHOW: False
7376
SHOW_UNIT: False

0 commit comments

Comments
 (0)