Go to file
MK13 572c96d63e Introduce memory options 'unit' and 'decimals'
Previously the format placeholders were auto-converted to the maximum possible
unit, e.g. /proc/meminfo reports MemTotal of 16307104kB which will get
converted to 15.6GiB. It is now possible to specifiy the target unit, e.g. Mi,
which will be used for the conversion - in the example it would lead to
15924.9MiB.

The resulting number can now be further formatted via the decimal option. It
allows to specify the number of decimals to use, e.g. 15.6GiB vs. 15GiB or
15924.9MiB vs. 15925MiB.
2019-10-26 15:32:32 +02:00
contrib Consolidate measure speed script (#188) 2017-01-02 16:06:06 +01:00
include Introduce memory options 'unit' and 'decimals' 2019-10-26 15:32:32 +02:00
m4 Switch to autotools (#316) 2019-01-23 08:56:40 +01:00
man Introduce memory options 'unit' and 'decimals' 2019-10-26 15:32:32 +02:00
src Introduce memory options 'unit' and 'decimals' 2019-10-26 15:32:32 +02:00
testcases print_file_contents: allocate enough to include \0 2019-06-10 16:36:18 +02:00
travis Switch to autotools (#316) 2019-01-23 08:56:40 +01:00
.clang-format switch to clang 3.8 & ignore sort oder of includes 2018-07-08 13:48:28 +02:00
.gitignore Switch to autotools (#316) 2019-01-23 08:56:40 +01:00
.travis.yml make pulseaudio an optional dependency, follow best practices 2019-07-29 21:07:40 +02:00
CHANGELOG release v2.13 2019-06-30 19:55:28 +02:00
configure.ac Improve NetBSD port. (#361) 2019-07-29 13:46:20 -07:00
CONTRIBUTING.md add CONTRIBUTING file 2015-03-16 10:02:22 +01:00
i3status.c Introduce memory options 'unit' and 'decimals' 2019-10-26 15:32:32 +02:00
i3status.conf default config: move disk info out of network info 2019-02-03 16:38:17 +03:00
I3STATUS_VERSION release v2.13 2019-06-30 19:55:28 +02:00
LICENSE Separate license into file LICENSE 2009-10-15 20:44:24 +02:00
Makefile.am conditionally compile pulse.c only when using pulseaudio 2019-07-11 15:23:08 +02:00
README.md README: update build instructions 2019-02-11 09:52:23 +01:00

i3status

Description

i3status is a small program for generating a status bar for i3bar, dzen2, xmobar or similar programs. It is designed to be very efficient by issuing a very small number of system calls, as one generally wants to update such a status line every second. This ensures that even under high load, your status bar is updated correctly. Also, it saves a bit of energy by not hogging your CPU as much as spawning the corresponding amount of shell commands would.

Development

i3status has the following dependencies:

  • libconfuse-dev
  • libyajl-dev
  • libasound2-dev
  • libnl-genl-3-dev
  • asciidoc (only for the documentation)
  • libpulse-dev (for getting the current volume using PulseAudio)

On debian-based systems, the following line will install all requirements:

apt-get install libconfuse-dev libyajl-dev libasound2-dev libiw-dev asciidoc libpulse-dev libnl-genl-3-dev

Upstream

i3status is developed at https://github.com/i3/i3status

Compilation

Prefer installing i3status via your Linux distributions package manager.

If you absolutely have to build from source, use:

  autoreconf -fi
  mkdir build
  cd build
  ../configure
  make -j8
  sudo make install