summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/config6
-rw-r--r--doc/tofi.5.md12
-rw-r--r--doc/tofi.5.scd10
3 files changed, 28 insertions, 0 deletions
diff --git a/doc/config b/doc/config
index 9f15f35..a43b258 100644
--- a/doc/config
+++ b/doc/config
@@ -39,6 +39,9 @@
# Default text
text-color = #FFFFFF
+ # Placeholder input text
+ placeholder-color = #FFFFFFA8
+
# Selection text
selection-color = #F92672
@@ -57,6 +60,9 @@
# Extra horizontal padding between prompt and input.
prompt-padding = 0
+ # Placeholder input text.
+ placeholder-text = ""
+
# Maximum number of results to display.
# If 0, tofi will draw as many results as it can fit in the window.
num-results = 0
diff --git a/doc/tofi.5.md b/doc/tofi.5.md
index 73a5699..ff616ff 100644
--- a/doc/tofi.5.md
+++ b/doc/tofi.5.md
@@ -181,6 +181,18 @@ options.
>
> Default: 0
+**placeholder-text**=*string*
+
+> Placeholder input text.
+>
+> Default: ""
+
+**placeholder-color**=*string*
+
+> Color of placeholder input text. See **COLORS** for more information.
+>
+> Default: \#FFFFFFA8
+
**num-results**=*n*
> Maximum number of results to display. If *n* = 0, tofi will draw as
diff --git a/doc/tofi.5.scd b/doc/tofi.5.scd
index 25fdf0b..f809103 100644
--- a/doc/tofi.5.scd
+++ b/doc/tofi.5.scd
@@ -161,6 +161,16 @@ options.
Default: 0
+*placeholder-text*=_string_
+ Placeholder input text.
+
+ Default: ""
+
+*placeholder-color*=_string_
+ Color of placeholder input text. See *COLORS* for more information.
+
+ Default: #FFFFFFA8
+
*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.