summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-07-25 08:25:21 +0200
committerDave Davenport <qball@gmpclient.org>2017-07-25 08:25:21 +0200
commitf87696322045caefc6b6719e673ee289da2aa1fd (patch)
tree4ba67ecb946aefe693b4732b9c907b7df089f6e3
parent89c6a0f00b967e13e34dfee02cffc003b43d5ee9 (diff)
Update theme manpage textbox
- Add missing options. (valign/halign, width, str, font)
-rw-r--r--doc/rofi-theme.518
-rw-r--r--doc/rofi-theme.5.markdown16
2 files changed, 30 insertions, 4 deletions
diff --git a/doc/rofi-theme.5 b/doc/rofi-theme.5
index da618d68..12bce20d 100644
--- a/doc/rofi-theme.5
+++ b/doc/rofi-theme.5
@@ -758,6 +758,9 @@ The current widgets exist in \fBrofi\fR:
.
.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"
State: State of widget
.
@@ -901,11 +904,26 @@ The following properties are currently supports:
\fBforeground\fR: color
.
.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)
.
.IP "\(bu" 4
\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
.
.SS "listview:"
diff --git a/doc/rofi-theme.5.markdown b/doc/rofi-theme.5.markdown
index 48db4fa9..7cbb4923 100644
--- a/doc/rofi-theme.5.markdown
+++ b/doc/rofi-theme.5.markdown
@@ -445,6 +445,9 @@ The current widgets exist in **rofi**:
* `#window.mainbox.message.textbox`: The message textbox.
* `#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
@@ -557,11 +560,16 @@ The following properties are currently supports:
### textbox:
-* **background**: color
-* **foreground**: color
-* **text**: The text color to use (falls back to foreground if not set)
-* **highlight**: Text Style {color}
+* **background**: color
+* **foreground**: color
+* **font**: The font used by this textbox. (string)
+* **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;
+* **width**: Override the desired width for the textbox.
### listview:
* **columns**: integer