Skip to content

Commit

Permalink
Merge pull request #326 from majormer/main
Browse files Browse the repository at this point in the history
  • Loading branch information
mathoudebine authored Sep 21, 2023
2 parents 805aee5 + 058cbaf commit f97f5e7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions library/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,13 @@ def stats():
unit=" M"
)

display_themed_value(
theme_data=memory_stats_theme_data['VIRTUAL']['TOTAL'],
value=int((sensors.Memory.virtual_free() + sensors.Memory.virtual_used()) / 1000000),
min_size=5,
unit=" M"
)


class Disk:
@staticmethod
Expand Down
3 changes: 3 additions & 0 deletions res/themes/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ STATS:
FREE:
SHOW: False
SHOW_UNIT: False
TOTAL:
SHOW: False
SHOW_UNIT: False
PERCENT_TEXT:
SHOW: False
SHOW_UNIT: False
Expand Down

0 comments on commit f97f5e7

Please sign in to comment.