Go to file
sepherosa f757ee415a
cpu_usage: On BSD use long to hold cpu usage to avoid overflow. (#439)
Co-authored-by: Sepherosa Ziehau <sephe@dragonflybsd.org>
2021-12-19 22:31:13 +01:00
.github/workflows Switch build system from autotools to meson 2021-10-31 19:03:02 +01:00
contrib contrib/net-speed: extend interface list filter (#376) 2020-05-01 21:45:36 +02:00
etc Switch build system from autotools to meson 2021-10-31 19:03:02 +01:00
include use param structs everywhere for consistency 2021-11-02 21:45:31 +01:00
man release v2.14 2021-11-09 08:26:49 +01:00
meson Switch build system from autotools to meson 2021-10-31 19:03:02 +01:00
src cpu_usage: On BSD use long to hold cpu usage to avoid overflow. (#439) 2021-12-19 22:31:13 +01: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 build system from autotools to meson 2021-10-31 19:03:02 +01:00
CHANGELOG release v2.14 2021-11-09 08:26:49 +01:00
CONTRIBUTING.md add CONTRIBUTING file 2015-03-16 10:02:22 +01:00
i3status.c use param structs everywhere for consistency 2021-11-02 21:45:31 +01:00
I3STATUS_VERSION release v2.14 2021-11-09 08:26:49 +01:00
LICENSE Separate license into file LICENSE 2009-10-15 20:44:24 +02:00
meson_options.txt Switch build system from autotools to meson 2021-10-31 19:03:02 +01:00
meson.build meson: replace bashism is POSIX shell compliant code (#463) 2021-11-25 08:54:38 +01:00
README.md update README for meson 2021-10-31 19:24:10 +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
  • meson (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 meson

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:

  mkdir build
  cd build
  meson ..
  ninja
  sudo ninja install