summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-11-16 13:36:25 +0000
committerPhil Jones <philj56@gmail.com>2022-11-16 13:36:25 +0000
commitca75d29bd2208ea7e2f5ccdb2b146953419be9b2 (patch)
treeaf56f7530f756a4d7ed96ca37a1d35bdceb83f7c /doc
parent25c0035ed0614ae334ae034ee90d7898c15e779f (diff)
Add placeholder text options.
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.