Skip to content

miublue/lbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lbar

Tiny X11 status bar that i made for lwm to learn how to use Xft.

Installing

Compile with:

make install

Usage

Pipe text ending in new line to lbar, format with '\r' followed by a special character.

Formatting

\r[U|L|C|R]
\rU toggles underline. \rL, \rC and \rR draws text on the left, center and right sides of the bar respectively.
Example script can be found here. Run with:

./input.sh | lbar

Configuring

Simply edit config.h and recompile. Alternatively, change values via command-line options:

lbar [-h|-b|-f font|-u size|-H height|-F foreground|-B background|-U underline]
    -h          show help
    -b          place bar at the bottom of the screen
    -f font     set bar font
    -u size     set bar underline height in pixels
    -H height   set bar height in pixels
    -F #RRGGBB  set bar text color
    -B #RRGGBB  set bar background color
    -U #RRGGBB  set bar underline color

About

tiny X11 status bar

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •