Home

Awesome

Statbar

statbar is a Linux status bar using lemonbar as a viewer, and optionally conky for clickable popups. It allows for multiple visible bars, sharing the same data sources. I use this to put a status bar on multiple monitors, where each might have the CPU usage, without having to run top for each. Instead they share the output of one call to top.

Requirements

Fonts I'm using:

Fonts are specified in src/client.c when spawning lemonbar. Change to whatever font string you'd use.

Icons are specified in src/common.c in set_environment call. The icon strings are passed as environment variables to the modules and popups.

That's all that's needed for the status client itself. Individual modules may depend on certain commands being installed. But modules can be easily tailored to whatever your system uses. Or disabled (like, in the case of GPU if you have integrated graphics, or bluetooth if you don't have it).

Usage

Call statbar to start a viewable statusbar. The data source daemon will start automatically. Call statbar again to start another viewable bar, and it will share the same data source, without starting any more. statbar may optionally take one argument, which is the size and position of the bar, specified like common window geometry in X11: WIDTHxHEIGHT+X+Y. This defaults to 1920x22+0+0 when unspecified.

Call statd if you want to start the daemon manually.

Screenshots

default statbar:

statbar

with a few modules clicked on:

clicks

For fun, on my machine clicking the Arch logo at the end triggers a command adapted from this reddit thread that locks the screen. Currently, this script isn't shipped with statbar

locked

License

Code licensed under the MIT license. See LICENSE.

Copyright 2015 Dan Panzarella