shithub: bar

ref: e2f298b87ed295ed8ec54af3216ede910daef96e
dir: /README.md/

View raw version
# bar

Displays battery, date and time in a small bar placed in a corner of
the screen.  Bar can be forced into background with `-b` option.
Corner can be chosen by specifying it with `-p` option, the value is
first letters of top/bottom and left/right, ie `lt` would place it in
the left top of the screen.  Bar is centered horizontally if no "top"
or "bottom" specified for its position.

`bar` reads additional data from standard input and displays it along
with other information.

When clicked, `bar` writes to standard output a single line of text,
consisting of two fields, separated by a tab: buttons pressed (number)
and the text of the item that was pressed.  This may be used for
additional actions defined by an optional user's script on the right
side of a pipe.

![screenshot](scr.png)