Go to file
Jonas Große Sundrup afc73e1982
Initialize fields with zero bytes in wireless module
Previously, the fields in the wireless module were declared but not explicitly
initialized upon declaration. As nothing else would do so afterwards, this
could introduce random characters left over in the memory segment into
the fields. This was explicitly observed in the essid-field, but likely
a possibility for other fields as well. Hence, this commit adds explicit
initialization with zero bytes to all fields to ensure proper
termination of all fields.

Fixes #432
2020-10-09 12:36:41 +02:00
contrib contrib/net-speed: extend interface list filter (#376) 2020-05-01 21:45:36 +02:00
include Move general functions scalloc, sstrdup out of i3status.c 2020-05-01 12:16:55 +02:00
m4 Switch to autotools (#316) 2019-01-23 08:56:40 +01:00
man format the leftover directives 2020-03-29 18:29:28 -05:00
src Initialize fields with zero bytes in wireless module 2020-10-09 12:36:41 +02:00
testcases Add support for batteries outputting Time to empty on linux (#378) 2020-06-15 09:09:06 +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 travis: Re-enable sanitizers 2020-05-01 14:03:38 +02:00
CHANGELOG release v2.13 2019-06-30 19:55:28 +02:00
configure.ac configure: Add switch to disable manual pages (#413) 2020-05-05 17:39:49 +02:00
CONTRIBUTING.md add CONTRIBUTING file 2015-03-16 10:02:22 +01:00
i3status.c Fix various memory leaks 2020-05-01 13:55:19 +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 configure: Add switch to disable manual pages (#413) 2020-05-05 17:39:49 +02:00
README.md README: use make -j$(nproc) 2020-07-09 12:05:44 +02: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
  • autoconf (compile-time only dependency)
  • 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 autoconf 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 --disable-sanitizers
  make -j$(nproc)
  sudo make install