mem plugin: update formatting as well
This commit is contained in:
parent
dac9efdd42
commit
579e0d0069
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue