ryanflannery / oxbar

configurable X11 status bar for OpenBSD (and xstatbar successor)
ISC License
46 stars 2 forks source link
bsd cairo openbsd pango statusbar xcb

oxbar

oxbar is a X11 status bar for OpenBSD showing various system stats. It has a configurable display and works out-of-the-box on most modern window managers in an intuitive fashion. oxbar supports FreeType font rendering and styling, true transparency & alpha blending on all UI components (including the root window), and a simple configuration format that can concisely support multiple themes.

It's motivated by the frequent complaints/threats I get about my old xstatbar and its many hacks. Shaming works 'yo.

oxbar is released under an ISC license

screenshot

features

more screenshots

oxbar's default look (with no options): default

Other themes, all included in the file sample.oxbar.conf:

islands: each widget is an island, with true transparency between islands

islands-colorful: like islands, but each widget is a different color islands-colorful

minimal: a dark, text only display minimal

pastels: a pastel based theme with widgets tightly packed pastels

ryan: what my setup looks like ryan

xstatbar: looks just like it's predecessor xstatbar

installing

There is no port/package (yet), as oxbar is still under active development. To build & install, you'll need to first install 2 dependencies, pango and cairo, and then clone this repo and run make install.

Roughly:

 $ doas pkg_add pango cairo      # install dependencies (as root)
 $ make                          # build oxbar
 $ doas make install             # install globally (as root)
 -or-
 $ PREFIX=~/local make install   # install local to a user (or anywhere)

usage

Full man page available here: oxbar(1).

oxbar -H also has a brief description of each command line flag. See the sample configuration sample.oxbar.conf for examples, like the themes above.

i liked xstatbar's look

You can achieve that using the included sample configuration file, saved as ~/.oxbar.conf, and run oxbar via:

oxbar xstatbar

outstanding stuff, prioritized

See the TODO file for various TODO's present throughout the code.

In addition, more long-term stuff I'd like to do, by my priority...