Go to file
Tommie Gannert dc072f9f53 Implement aggregates for batteries.
Using title number all, this enables aggregates. Note that FreeBSD and
OpenBSD previously only reported aggregates, so this is bringing Linux
and NetBSD that functionality.

Changes the default battery reporting to the aggregate since most
users probably don't care about individual batteries. For single-battery
systems there should be no change.

Fixes one obvious memory leak in NetBSD.
2016-08-28 14:29:08 +01:00
contrib check_mail.py: more detailed report on IOError 2016-01-21 10:36:30 +01:00
include Implement aggregates for batteries. 2016-08-28 14:29:08 +01:00
man Implement aggregates for batteries. 2016-08-28 14:29:08 +01:00
src Implement aggregates for batteries. 2016-08-28 14:29:08 +01:00
yajl-fallback/yajl add yajl compat code 2012-04-08 14:05:47 +02:00
.clang-format clang-format-3.5 -i **/*.[ch], update modeline 2015-03-16 10:01:07 +01:00
.gitignore Add i3status and man/i3status.1 to ignore list. 2015-02-07 22:17:59 -02:00
.travis.yml travis: use trusty instead of (failing) llvm repo 2016-06-15 21:45:34 +02:00
CHANGELOG release v2.10 2016-01-01 19:50:24 +01:00
CONTRIBUTING.md add CONTRIBUTING file 2015-03-16 10:02:22 +01:00
i3status.c Implement aggregates for batteries. 2016-08-28 14:29:08 +01:00
i3status.conf Implement aggregates for batteries. 2016-08-28 14:29:08 +01:00
I3STATUS_VERSION Added version files for release tarball. Fixes #78 (#132) 2016-06-27 08:49:51 +02:00
LICENSE Separate license into file LICENSE 2009-10-15 20:44:24 +02:00
Makefile Deleting VERSION and extracting it from I3STATUS_VERSION instead (#146) 2016-08-13 13:46:31 -07:00
README.md Fixed typo in README.md (#141) 2016-08-01 22:16:50 +02:00

i3status

Description

i3status is a small program (about 1500 SLOC) 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
  • libcap2-bin (for getting network status without root permissions)
  • 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 libcap2-bin libpulse-dev libnl-genl-3-dev

Upstream

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

Compilation

Compiling is done with the usual make-line

  make && sudo make install