Unified · Split
| @@ -1,19 +1,11 @@ | |||
| 1 | # bar | 1 | # bar |
| 2 | 2 | ||
| 3 | Displays battery, date and time in a small bar placed in a corner of | 3 | Displays battery, date and time in a small bar placed in a corner of |
| 4 | the screen. Bar can be forced into background with `-b` option. | 4 | the screen. Additional text can be provided through `stdin`. Text |
| 5 | Corner can be chosen by specifying it with `-p` option, the value is | 5 | clicked is written to `stdout`, making it possible to run specific |
| 6 | first letters of top/bottom and left/right, ie `lt` would place it in | 6 | actions. Bar placement and date/time format can be set using command |
| 7 | the left top of the screen. Bar is centered horizontally if no "top" | 7 | line options. |
| 8 | or "bottom" specified for its position. | ||
| 9 | 8 | ||
| 10 | `bar` reads additional data from standard input and displays it along | 9 | See manual page. |
| 11 | with other information. | ||
| 12 | |||
| 13 | When clicked, `bar` writes to standard output a single line of text, | ||
| 14 | consisting of two fields, separated by a tab: buttons pressed (number) | ||
| 15 | and the text of the item that was pressed. This may be used for | ||
| 16 | additional actions defined by an optional user's script on the right | ||
| 17 | side of a pipe. | ||
| 18 | 10 | ||
| 19 |  | 11 |  |