Hello Quentin,
On Sun, Nov 29, 2020 at 07:38:08PM +0100, Quentin Rameau wrote:
> Regarding the first one, isn't that already the current behaviour?
>
> $ printf '%s\n' foo bar bar|./dmenu -l 10
>
> Only displays 3 lines, not 10.
> Could you give a use-case?
>
It is not really the current behav
With the -fw option, the dmenu window pops in the middle of the screen,
giving a UI alternative to top or bottom menus.
---
config.def.h | 2 ++
dmenu.1 | 4
dmenu.c | 18 --
3 files changed, 22 insertions(+), 2 deletions(-)
diff --git a/config.def.h b/config.def.
Those 2 patches allows to have dmenu displayed in a pop-up window in the
middle of the screen. Personally I like the way it looks and I think
that this option (-fw) could be available for everyone.
This is my first contribution to this project, please let me know if
everything is ok with my patche
When the number of items is less than the number of lines on vertical
windows, it is more beautiful to have a reduced window height.
---
dmenu.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/dmenu.c b/dmenu.c
index 65f25ce..86dbe16 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -132,6 +132,7