From 226b063306291642b9bc9d5df0e54f2886d18486 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Mon, 22 Aug 2022 10:49:19 +0100 Subject: Add --prompt-padding option. --- doc/config | 3 +++ doc/tofi.5.md | 6 ++++++ doc/tofi.5.scd | 5 +++++ 3 files changed, 14 insertions(+) (limited to 'doc') diff --git a/doc/config b/doc/config index 4d337b5..e1e93a7 100644 --- a/doc/config +++ b/doc/config @@ -54,6 +54,9 @@ # Prompt to display. prompt-text = "run: " + # Extra horizontal padding between prompt and input. + prompt-padding = 0 + # 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 ba88c1b..a16ca82 100644 --- a/doc/tofi.5.md +++ b/doc/tofi.5.md @@ -81,6 +81,12 @@ options. > > Default: "run: " +**prompt-padding**=*px* + +> Extra horizontal padding between prompt and input. +> +> Default: 0 + **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 31f8083..8801799 100644 --- a/doc/tofi.5.scd +++ b/doc/tofi.5.scd @@ -74,6 +74,11 @@ options. Default: "run: " +*prompt-padding*=_px_ + Extra horizontal padding between prompt and input. + + Default: 0 + *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. -- cgit v1.2.3