diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/config | 13 | ||||
-rw-r--r-- | doc/tofi.5.md | 8 | ||||
-rw-r--r-- | doc/tofi.5.scd | 7 |
3 files changed, 24 insertions, 4 deletions
@@ -161,10 +161,15 @@ corner-radius = 0 # Padding between borders and text. Can be pixels or a percentage. - padding-top = 0 - padding-bottom = 0 - padding-left = 0 - padding-right = 0 + padding-top = 8 + padding-bottom = 8 + padding-left = 8 + padding-right = 8 + + # Whether to clip text drawing to be within the specified padding. This + # is mostly important for allowing text to be inset from the border, + # while still allowing text backgrounds to reach right to the edge. + clip-to-padding = true # Whether to scale the window by the output's scale factor. scale = true diff --git a/doc/tofi.5.md b/doc/tofi.5.md index d87e232..e8f3c49 100644 --- a/doc/tofi.5.md +++ b/doc/tofi.5.md @@ -530,6 +530,14 @@ options. > > Default: 8 +**clip-to-padding**=*true\|false* + +> Whether to clip text drawing to be within the specified padding. This +> is mostly important for allowing text to be inset from the border, +> while still allowing text backgrounds to reach right to the edge. +> +> Default: true + **horizontal**=*true\|false* > List results horizontally. diff --git a/doc/tofi.5.scd b/doc/tofi.5.scd index 53bdc68..72be59e 100644 --- a/doc/tofi.5.scd +++ b/doc/tofi.5.scd @@ -451,6 +451,13 @@ options. Default: 8 +*clip-to-padding*=_true|false_ + Whether to clip text drawing to be within the specified padding. This + is mostly important for allowing text to be inset from the border, + while still allowing text backgrounds to reach right to the edge. + + Default: true + *horizontal*=_true|false_ List results horizontally. |