shithub: bar

ref: 49cca4636e049d4b70c4cdca646d3e79228cf805
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)