Go to file
LemonBoy 11e5e2e859 Flawed logic is flawed. 2012-07-16 15:54:34 +02:00
Makefile Here we go. 2012-07-16 11:41:34 +02:00
README.md Remove polling. Add a switch to make the bar permanent. 2012-07-16 12:30:49 +02:00
bar.c Flawed logic is flawed. 2012-07-16 15:54:34 +02:00
config.h Here we go. 2012-07-16 11:41:34 +02:00

README.md

b(ar) a(in't) r(ecursive)

2012 (C) The Lemon Man

A lightweight bar based on XCB (yay). Provides foreground/background color switching along with text alignment (screw you dzen!), nothing less and nothing more.

Options

bar accpets a couple of command line switches

-h      Shows the help and bails out.
-p      Make the bar permanent.

Configuration

Change the config.h file and you're good to go! The text background and foreground are respectively the first and the second entries in the palette (COLOR0 and COLOR1).

Text formatting

All the format commands are preceded by a backslash (\). To draw a backslash just backslash escape it (\\).

f<0-9>  Selects the text foreground color from the palette.
b<0-9>  Selects the text background color from the palette.
        To reset the bg/fg color just pass 'r' as color index.

l       Aligns the text to the left.
c       Aligns the text to the center.
r       Aligns the text to the right.