Skip to content
forked from i3/i3status

Generates status bar to use with i3bar, dzen2 or xmobar

License

Notifications You must be signed in to change notification settings

holoubekm/i3status

This branch is 32 commits ahead of, 244 commits behind i3/i3status:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3e2b40e · Mar 31, 2018
Jan 2, 2017
Mar 24, 2018
Mar 31, 2018
Mar 31, 2018
Jan 28, 2018
Aug 29, 2017
Apr 8, 2012
Mar 16, 2015
Feb 8, 2015
Nov 14, 2016
Jan 21, 2017
Mar 16, 2015
Jan 21, 2017
Oct 15, 2009
Mar 31, 2018
Mar 31, 2018
Mar 31, 2018
Aug 28, 2016

Repository files navigation

i3status - asynchronous version

Changes over the i3/i3status

Almost completely asynchronous - the main thread sleeps indefinitely and updates UI only when necessary.

User can emit the SIGUSR1 signal or use one of the predefined modules implementing synchronization.

The following modules were modified:

  • Print disk info
  • Current volume - added support for progress bar

The following modules were added:

  • LCD brightness
  • Network connection with priorities and colors (Ethernet > WiFi > Loopback)
  • Current keyboard layout module - pwld daemon

Added support for one more color used when audio is muted.

Please note this implementation is done for my purposes and may not (certainly is not) be portable. Even building this fork may require some changes.

Added new dependencies:

  • -lX11
  • -lboost_filesystem
  • -lboost_system

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
  • 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

About

Generates status bar to use with i3bar, dzen2 or xmobar

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 80.9%
  • C++ 11.4%
  • Python 3.4%
  • Perl 2.0%
  • Makefile 1.6%
  • Shell 0.7%