Go to file
Alexander Monakov 05273b03fd Avoid use of uninitialized variable in print_battery_info
The boolean flag 'watt_as_unit' may be used without being initialized if the
configured battery path does not contain expected statistics (for example if
it is misconfigured and points to AC adapter info or simply an unrelated file).

Even though it does not cause ill effects, it causes a warning (true positive)
when running i3status under Valgrind.  Initialize the variable to make code
well-defined.
2014-12-22 09:19:40 +01:00
contrib contrib: fix premature insetion of status message into JSON 2013-02-27 01:20:56 +01:00
include Allocate and expose per-instance pointers for plugins 2014-12-10 19:58:54 +01:00
man support the special interface name _first_ for ethernet/wireless 2014-12-07 15:17:31 +01:00
src Avoid use of uninitialized variable in print_battery_info 2014-12-22 09:19:40 +01:00
yajl-fallback/yajl add yajl compat code 2012-04-08 14:05:47 +02:00
.gitignore Breaks configfiles! Major refactoring of i3status, see below 2009-10-11 22:14:29 +02:00
CHANGELOG update CHANGELOG 2014-01-05 12:17:18 +01:00
i3status.c Allocate and expose per-instance pointers for plugins 2014-12-10 19:58:54 +01:00
i3status.conf support the special interface name _first_ for ethernet/wireless 2014-12-07 15:17:31 +01:00
LICENSE Separate license into file LICENSE 2009-10-15 20:44:24 +02:00
Makefile Fix CFLAGS and LDFLAGS for DragonFly and FreeBSD 2014-08-01 13:01:05 +02:00
README README: refer to cr.i3wm.org for patches 2013-02-10 15:17:15 +01:00

 ┌────────────────────────────┐
 │ 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
 • libiw-dev
 • libcap2-bin (for getting network status without root permissions)
 • asciidoc (only for the documentation)

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

 ┌────────────────────────────┐
 │ Upstream                   │
 └────────────────────────────┘

i3status is developed at
  http://code.i3wm.org/i3status

You may clone the git-repository using
  git clone git://code.i3wm.org/i3status

Please submit patches at
  http://cr.i3wm.org/

 ┌────────────────────────────┐
 │ Compilation                │
 └────────────────────────────┘

Compiling is done with the usual make-line
  make && sudo make install