mirror of https://github.com/davatorium/rofi.git
Update theme manpage textbox
- Add missing options. (valign/halign, width, str, font)
This commit is contained in:
parent
89c6a0f00b
commit
f876963220
|
@ -758,6 +758,9 @@ The current widgets exist in \fBrofi\fR:
|
||||||
.
|
.
|
||||||
.IP "" 0
|
.IP "" 0
|
||||||
.
|
.
|
||||||
|
.P
|
||||||
|
Note that these paths names match the default theme\. Themes that provide a custom layout will have different element paths\.
|
||||||
|
.
|
||||||
.SH "State"
|
.SH "State"
|
||||||
State: State of widget
|
State: State of widget
|
||||||
.
|
.
|
||||||
|
@ -901,11 +904,26 @@ The following properties are currently supports:
|
||||||
\fBforeground\fR: color
|
\fBforeground\fR: color
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.IP "\(bu" 4
|
||||||
|
\fBfont\fR: The font used by this textbox\. (string)
|
||||||
|
.
|
||||||
|
.IP "\(bu" 4
|
||||||
|
\fBstr\fR: The string to display by this textbox\. (string)
|
||||||
|
.
|
||||||
|
.IP "\(bu" 4
|
||||||
|
\fBvertical\-align\fR: Vertical alignment of the text\. (0 top, 1 bottom)
|
||||||
|
.
|
||||||
|
.IP "\(bu" 4
|
||||||
|
\fBhorizontal\-align\fR: Horizontal alignment of the text\. (0 left, 1 right)
|
||||||
|
.
|
||||||
|
.IP "\(bu" 4
|
||||||
\fBtext\fR: The text color to use (falls back to foreground if not set)
|
\fBtext\fR: The text color to use (falls back to foreground if not set)
|
||||||
.
|
.
|
||||||
.IP "\(bu" 4
|
.IP "\(bu" 4
|
||||||
\fBhighlight\fR: Text Style {color} Color is optional, multiple highlight styles can be added like: bold underline italic #000000;
|
\fBhighlight\fR: Text Style {color} Color is optional, multiple highlight styles can be added like: bold underline italic #000000;
|
||||||
.
|
.
|
||||||
|
.IP "\(bu" 4
|
||||||
|
\fBwidth\fR: Override the desired width for the textbox\.
|
||||||
|
.
|
||||||
.IP "" 0
|
.IP "" 0
|
||||||
.
|
.
|
||||||
.SS "listview:"
|
.SS "listview:"
|
||||||
|
|
|
@ -445,6 +445,9 @@ The current widgets exist in **rofi**:
|
||||||
* `#window.mainbox.message.textbox`: The message textbox.
|
* `#window.mainbox.message.textbox`: The message textbox.
|
||||||
* `#window.mainbox.message.box`: The box containing the message.
|
* `#window.mainbox.message.box`: The box containing the message.
|
||||||
|
|
||||||
|
Note that these paths names match the default theme. Themes that provide a custom layout will have different
|
||||||
|
element paths.
|
||||||
|
|
||||||
|
|
||||||
## State
|
## State
|
||||||
|
|
||||||
|
@ -557,11 +560,16 @@ The following properties are currently supports:
|
||||||
|
|
||||||
### textbox:
|
### textbox:
|
||||||
|
|
||||||
* **background**: color
|
* **background**: color
|
||||||
* **foreground**: color
|
* **foreground**: color
|
||||||
* **text**: The text color to use (falls back to foreground if not set)
|
* **font**: The font used by this textbox. (string)
|
||||||
* **highlight**: Text Style {color}
|
* **str**: The string to display by this textbox. (string)
|
||||||
|
* **vertical-align**: Vertical alignment of the text. (0 top, 1 bottom)
|
||||||
|
* **horizontal-align**: Horizontal alignment of the text. (0 left, 1 right)
|
||||||
|
* **text**: The text color to use (falls back to foreground if not set)
|
||||||
|
* **highlight**: Text Style {color}
|
||||||
Color is optional, multiple highlight styles can be added like: bold underline italic #000000;
|
Color is optional, multiple highlight styles can be added like: bold underline italic #000000;
|
||||||
|
* **width**: Override the desired width for the textbox.
|
||||||
|
|
||||||
### listview:
|
### listview:
|
||||||
* **columns**: integer
|
* **columns**: integer
|
||||||
|
|
Loading…
Reference in New Issue