summaryrefslogtreecommitdiff
path: root/doc/tofi.5.scd
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tofi.5.scd')
-rw-r--r--doc/tofi.5.scd129
1 files changed, 129 insertions, 0 deletions
diff --git a/doc/tofi.5.scd b/doc/tofi.5.scd
index acdb16a..53bdc68 100644
--- a/doc/tofi.5.scd
+++ b/doc/tofi.5.scd
@@ -191,6 +191,27 @@ options.
Default: 0
+*prompt-color*=_color_
+ Color of prompt text. See *COLORS* for more information.
+
+ Default: Same as *text-color*
+
+*prompt-background*=_color_
+ Background color of prompt. See *COLORS* for more information.
+
+ Default: #00000000
+
+*prompt-background-padding*=_directional_
+ Extra padding of the prompt background. See *DIRECTIONAL VALUES* for more
+ information.
+
+ Default: 0
+
+*prompt-background-corner-radius*=_px_
+ Corner radius of the prompt background.
+
+ Default: 0
+
*placeholder-text*=_string_
Placeholder input text.
@@ -201,6 +222,88 @@ options.
Default: #FFFFFFA8
+*placeholder-background*=_color_
+ Background color of placeholder input text. See *COLORS* for more
+ information.
+
+ Default: #00000000
+
+*placeholder-background-padding*=_directional_
+ Extra padding of the placeholder input text background. See *DIRECTIONAL
+ VALUES* for more information.
+
+ Default: 0
+
+*placeholder-background-corner-radius*=_px_
+ Corner radius of the placeholder input text background.
+
+ Default: 0
+
+*input-color*=_color_
+ Color of input text. See *COLORS* for more information.
+
+ Default: Same as *text-color*
+
+*input-background*=_color_
+ Background color of input. See *COLORS* for more information.
+
+ Default: #00000000
+
+*input-background-padding*=_directional_
+ Extra padding of the input background. See *DIRECTIONAL VALUES* for more
+ information.
+
+ Default: 0
+
+*input-background-corner-radius*=_px_
+ Corner radius of the input background.
+
+ Default: 0
+
+*default-result-color*=_color_
+ Default color of result text. See *COLORS* for more information.
+
+ Default: Same as *text-color*
+
+*default-result-background*=_color_
+ Default background color of results. See *COLORS* for more information.
+
+ Default: #00000000
+
+*default-result-background-padding*=_directional_
+ Default extra padding of result backgrounds. See *DIRECTIONAL VALUES* for
+ more information.
+
+ Default: 0
+
+*default-result-background-corner-radius*=_px_
+ Default corner radius of result backgrounds.
+
+ Default: 0
+
+*alternate-result-color*=_color_
+ Color of alternate (even-numbered) result text. See *COLORS* for more
+ information.
+
+ Default: same as *default-result-color*
+
+*alternate-result-background*=_color_
+ Background color of alternate (even-numbered) results. See *COLORS* for more
+ information.
+
+ Default: same as *default-result-background*
+
+*alternate-result-background-padding*=_directional_
+ Extra padding of alternate (even-numbered) result backgrounds. See
+ *DIRECTIONAL VALUES* for more information.
+
+ Default: same as *default-result-background-padding*
+
+*alternate-result-background-corner-radius*=_px_
+ Corner radius of alternate (even-numbered) result backgrounds.
+
+ Default: same as *default-result-background-corner-radius*
+
*num-results*=_n_
Maximum number of results to display. If _n_ = 0, tofi will draw as
many results as it can fit in the window.
@@ -221,6 +324,9 @@ options.
Default: #00000000
*selection-padding*=_px_
+ *WARNING*: This option is deprecated, and will be removed in a future version
+ of tofi. You should use the *selection-background-padding* option instead.
+
Extra horizontal padding of the selection background. If _px_ = -1,
the padding will fill the whole window width.
@@ -231,6 +337,16 @@ options.
Default: #00000000
+*selection-background-padding*=_directional_
+ Extra padding of the selected result background. See *DIRECTIONAL VALUES* for
+ more information.
+
+ Default: 0
+
+*selection-background-corner-radius*=_px_
+ Corner radius of the selected result background.
+ Default: 0
+
*result-spacing*=_px_
Spacing between results. Can be negative.
@@ -362,6 +478,19 @@ Some pixel values can optionally have a % suffix, like so:
This will be interpreted as a percentage of the screen resolution in the
relevant direction.
+# DIRECTIONAL VALUES
+
+The background box padding of a type of text can be specified by one to four
+comma separated values, with meanings similar to the CSS padding property:
+
+- One value sets all edges.
+- Two values set (top & bottom), (left & right) edges.
+- Three values set (top), (left & right), (bottom) edges.
+- Four values set (top), (right), (bottom), (left) edges.
+
+Specifying -1 for any of the values will pad as far as possible in that
+direction.
+
# AUTHORS
Philip Jones <philj56@gmail.com>