Re: [i3] How to display in `i3bar` (via `i3status`) the amount of free memory

2015-09-17 Thread Valentin Rusu
* Ciprian Dorin Craciun [2015-09-16 15:22:50 +0300]: > On Wed, Sep 16, 2015 at 2:26 PM, Michael Stapelberg wrote: > > The recommended way is to wrap i3status as described in its manpage. > I'm using i3blocks without problems. Just give it a try, perhaps it'll suit your needs. -- Valentin Ru

Re: [i3] How to display in `i3bar` (via `i3status`) the amount of free memory

2015-09-16 Thread facetoe
If you don't mind using an alternative to i3status, i3pystatus us an excellent project - https://github.com/enkore/i3pystatus. There are many modules written for it including one for memory - http://docs.enkore.de/i3pystatus/i3pystatus.html#i3pystatus.mem_bar.MemBar Thanks, Facetoe.

Re: [i3] How to display in `i3bar` (via `i3status`) the amount of free memory

2015-09-16 Thread Axel Wagner
Ciprian Dorin Craciun writes: > The whole purpose of `i3status` is that it's lightweight both in terms > of resources and OS calls. Wrapping it in a script that each second > spawns a bunch of processes just to add memory usage is counter to its > purpose... Just in case you are using i3bar in h

Re: [i3] How to display in `i3bar` (via `i3status`) the amount of free memory

2015-09-16 Thread Jeff Jibson
On Wed, Sep 16, 2015 at 6:22 AM, Ciprian Dorin Craciun < ciprian.crac...@gmail.com> wrote: > > On Wed, Sep 16, 2015 at 2:26 PM, Michael Stapelberg wrote: > > The recommended way is to wrap i3status as described in its manpage. > > The whole purpose of `i3status` is that it's lightweight both in te

Re: [i3] How to display in `i3bar` (via `i3status`) the amount of free memory

2015-09-16 Thread Michael Stapelberg
On Wed, Sep 16, 2015 at 2:22 PM, Ciprian Dorin Craciun wrote: > On Wed, Sep 16, 2015 at 2:26 PM, Michael Stapelberg wrote: >> The recommended way is to wrap i3status as described in its manpage. > > The whole purpose of `i3status` is that it's lightweight both in terms > of resources and OS calls

Re: [i3] How to display in `i3bar` (via `i3status`) the amount of free memory

2015-09-16 Thread Ciprian Dorin Craciun
On Wed, Sep 16, 2015 at 2:26 PM, Michael Stapelberg wrote: > The recommended way is to wrap i3status as described in its manpage. The whole purpose of `i3status` is that it's lightweight both in terms of resources and OS calls. Wrapping it in a script that each second spawns a bunch of processes

Re: [i3] How to display in `i3bar` (via `i3status`) the amount of free memory

2015-09-16 Thread Michael Stapelberg
The recommended way is to wrap i3status as described in its manpage. On Wed, Sep 16, 2015 at 8:01 AM, Ciprian Dorin Craciun wrote: > I've just looked in the `i3status` manual to see how to display the > free memory (as reported by `free`), and found no option. > > I understand from the manual tha

[i3] How to display in `i3bar` (via `i3status`) the amount of free memory

2015-09-15 Thread Ciprian Dorin Craciun
I've just looked in the `i3status` manual to see how to display the free memory (as reported by `free`), and found no option. I understand from the manual that computing the used memory is not easy, but displaying the total used or free memory (both RAM and swap) as reported by `free` is quite eas