The code is (currently) hard wired to display the amounts in MB. I was hoping that there'd be a way to use python's string formatting to do this but I'm not sure there is.
I'm happy to update the widget to allow users to select units but that would only help you once the change is merged and included in the next release. If you want to have a go yourself, you need to edit the code here: https://github.com/qtile/qtile/blob/v0.16.1/libqtile/widget/memory.py#L66 - If you divide by 1024 again you'll get GB. On Monday, 21 December 2020 at 20:53:05 UTC David Budzynski wrote: > Hi everyone, > > Is it possible to configure the memory widget to display used and > available memory in GB instead of MB? I often use up to 60GB of ram so it > would be great if I could have it be displayed that way. > > Thanks in advance, > David > -- You received this message because you are subscribed to the Google Groups "qtile-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qtile-dev/1bc76fec-931d-4d58-9691-3c42c6c67df7n%40googlegroups.com.
