From 3e3846f9b4580b6647b5b10eb3147a5a1b91a762 Mon Sep 17 00:00:00 2001 From: Scoopta Date: Tue, 3 Mar 2020 00:07:02 -0800 Subject: [PATCH] Added documentation about percent sizes --- man/wofi.1 | 4 ++-- man/wofi.5 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/man/wofi.1 b/man/wofi.1 index 13d9486..ca3b074 100644 --- a/man/wofi.1 +++ b/man/wofi.1 @@ -36,10 +36,10 @@ Runs wofi in dmenu mode. Specifies the mode to run in. A list of modes can be found in \fBwofi\fR(7). .TP .B \-W, \-\-width=\fIWIDTH\fR -Specifies the menu width in pixels, default is 1000. +Specifies the menu width in pixels or percent of screen size, default is 1000. Pixels are used unless the number ends with a %. .TP .B \-H, \-\-height=\fIHEIGHT\fR -Specifies the menu height in pixels, default is 400. +Specifies the menu height in pixels or percent of screen size, default is 400. Pixels are used unless the number ends with a %. .TP .B \-p, \-\-prompt=\fIPROMPT\fR Sets the prompt to be display in the search box, default is the name of the mode. diff --git a/man/wofi.5 b/man/wofi.5 index 613c68b..a33eca1 100644 --- a/man/wofi.5 +++ b/man/wofi.5 @@ -32,10 +32,10 @@ Specifies the mode to run in. A list of modes can be found in \fBwofi\fR(7). Identical to \fBshow\fR. .TP .B width=\fIWIDTH\fR -Specifies the menu width in pixels, default is 1000. +Specifies the menu width in pixels or percent of screen size, default is 1000. Pixels are used unless the number ends with a %. .TP .B height=\fIHEIGHT\fR -Specifies the menu height in pixels, default is 400. +Specifies the menu height in pixels or percent of screen size, default is 400. Pixels are used unless the number ends with a %. .TP .B prompt=\fIPROMPT\fR Sets the prompt to be display in the search box, default is the name of the mode.