Browse Source

mem plugin: update formatting as well

master
Von Random 5 months ago
parent
commit
579e0d0069
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      plugins/mem.py

+ 2
- 2
plugins/mem.py View File

@@ -15,5 +15,5 @@ class PluginThread(plugins.PluginThreadCommon):
else:
self.hide = True
self.status['urgent'] = False
mem_available = str(round(mem_stat.available / 2**30, 2))
self.status['full_text'] = 'RAM: ' + str(mem_available) + 'G'
mem_available = round(mem_stat.available / 2**30, 2)
self.status['full_text'] = 'RAM: {:.2f}G'.format(mem_available)

Loading…
Cancel
Save