Jari Vetoniemi
407cb769c1
bump version to 0.6.16
0.6.16
2023-08-30 00:18:22 +09:00
Jari Vetoniemi
45fee1488d
filter: fix exact matching
2023-08-30 00:05:22 +09:00
Jari Vetoniemi
200f545283
nix: default.nix
2023-08-30 00:04:51 +09:00
Robert Günzler
5e5f7c58d2
man: document filter
...
Signed-off-by: Robert Günzler <r@gnzler.io>
2023-07-12 20:31:33 +09:00
Robert Günzler
d7ef1f3310
Apply initial filter before evalutating accept-single
...
Follow up to 0a44fb65cdc052aeb53ee05ede05ac77ad2d2a0d
Which didn't actually result in the intended behavior of skipping all
menu interaction when `accept-single` is true and the initial filter
results in a single item.
This has the side effect that `ifne` now evaluates on the filtered items
as well.
Signed-off-by: Robert Günzler <r@gnzler.io>
2023-07-12 20:31:33 +09:00
ItsProfessional
c9b891e89b
Add option to exit bemenu using esc in vim binds normal mode
2023-06-30 09:31:45 +09:00
inglorion
f92da7b438
docs: Add missing items to manpage
...
--fixed-height
--accept-single
--ifne
-c, --center
-B, --border
-R, --border-radius
--ch
--cw
--hp
--bdr
2023-05-29 11:28:05 +09:00
Adam Stück
68bce75ecd
docs: add missing option
...
Add documentation for the --fixed-height option
2023-05-20 06:45:14 +09:00
Jari Vetoniemi
752be280a8
bump version to 0.6.15
0.6.15
2023-05-08 21:19:04 +09:00
Damien Tardy-Panis
9e075fa30c
Fix required tab indentation in man page
2023-05-08 21:18:13 +09:00
Damien Tardy-Panis
879ae38766
Fix uninitialized pointer and touch structs in run_menu
...
Fixes #338
2023-05-08 21:18:13 +09:00
Moyu Su
8e2fd06f70
fixed that respond of Escape while using Vim binding under Wayland
2023-03-13 21:57:18 +09:00
Willow
0c0107e8cb
Fix: select last entry if pointer/touch above last index ( #332 )
...
* Fix: select last entry if pointer/touch above last index
* Select first line if pointer/touch above title bar
2023-02-22 16:07:57 +09:00
Willow
f53310a961
Fix: invisible right border. ( #333 )
2023-02-22 10:56:17 +09:00
Leonardo Eugênio
1f0a47b359
Fix Makefile to support submodule setups ( #329 )
2023-02-18 18:33:20 +09:00
Lucas Merritt
d9ac320dd0
Add fixed height option(Addresses #270 ) ( #326 )
...
* added fixed height option && fixed counter
2023-02-18 18:30:55 +09:00
Daniel
8644540fa4
docs: add missing options ( #331 )
...
* docs: add missing options
* docs: use tabs
2023-02-18 18:30:03 +09:00
Lucas Merritt
77000a680c
Add Match/Page Counter(Addresses #204 ) ( #325 )
...
* counter with total item count
* filtered item counter
* optimized display code
* refactored overcomplicated code
* fixed warnings that failed Ubuntu test
* fixed inconsistent state
* CLI option for counter
* fixed vertical mode counter
2022-12-27 17:13:59 +09:00
Lucas Merritt
a1374d487e
fixed minor issues
2022-12-21 14:10:08 +09:00
Lucas Merritt
30379a88bf
somewhat working, maybe fix background colors
2022-12-21 14:10:08 +09:00
Jari Vetoniemi
809c58866b
bump version to 0.6.14
0.6.14
2022-12-16 09:15:13 +09:00
Robert Günzler
0a44fb65cd
Apply initial filter before evaluating accept-single
...
This lets us select fully non-interactive if we have a perfect match
Signed-off-by: Robert Günzler <r@gnzler.io>
2022-12-16 09:13:19 +09:00
Robert Günzler
516a2ab069
common: actually parse -F using getopt
...
Signed-off-by: Robert Günzler <r@gnzler.io>
2022-12-16 09:13:19 +09:00
Robert Günzler
778617e7c9
wayland: don't chomp dirty state when window is pending
...
Running `printf "foo\nbar\n" | bemenu --filter foo` no results would
show up until something set the dirty state (like interacting with the
keyboard, e.g. deleting a character).
This would only happen on wayland, due to the render implementation not
considering the dirty state when the window was not yet created and then
just overwriting `menu->dirty` with `false`.
Signed-off-by: Robert Günzler <r@gnzler.io>
2022-12-16 09:13:19 +09:00
Quint Guvernator
a295e24146
improve exit code docs
2022-11-21 23:58:29 +09:00
Jochen Sprickerhof
b132d018a5
Make pkg-config configurable
...
Needed for crossbuilds.
2022-10-29 07:06:21 +09:00
Luca Nimmrichter
0c2bc885a1
Replace char *key_binding
with an enum
2022-10-21 03:17:29 +09:00
Luca Nimmrichter
a8c89c41a7
Fix remaining crashes
2022-10-21 03:17:29 +09:00
Luca Nimmrichter
75afebeb4b
Remove debug logs
2022-10-21 03:17:29 +09:00
Luca Nimmrichter
4d00e04eaa
Update README with vim keybindings
2022-10-21 03:17:29 +09:00
Luca Nimmrichter
197936e697
Add new bindings
...
H/M/L to goto first/mid/last item in view
X to delete character before the cursor
v to toggle item selection
Change goto first item from g to gg
2022-10-21 03:17:29 +09:00
Luca Nimmrichter
17481427a0
Replace --vim option with a generic --binding [name] option
2022-10-21 03:17:29 +09:00
Luca Nimmrichter
dc24d795bb
Fix escape close bemenu in vim normal mode
2022-10-21 03:17:29 +09:00
Luca Nimmrichter
bcf53bcb25
Add basic vim bindings
2022-10-21 03:17:29 +09:00
Jari Vetoniemi
e8e9957719
bump version to 0.6.13
0.6.13
2022-10-11 14:49:11 +09:00
Jari Vetoniemi
d5121dedad
nix: use pname and add generated version
2022-10-11 14:48:52 +09:00
dadav
d235dc38f7
Add support to disable pointer, touch and keyboard events
...
Sometimes you don't want the pointer/touch/keyboard to have any
influence on the menu (e.g. if you mainly use the keyboard, you don't
want the mouse to select an item by accident).
closes #299
2022-10-11 10:05:40 +09:00
Jari Vetoniemi
761c98d830
bump version to 0.6.12
0.6.12
2022-10-09 14:10:30 +09:00
Stacy Harper
3039ee97db
fix dangling pointer state on wayland
...
With this new version, the pointer click doesnt select the highlighted
element.
To fix the issue we initialize correctly the bm_pointer struct.
We also stop trying to use our pointer enums as bitflags with |=
2022-10-09 14:09:25 +09:00
Jari Vetoniemi
e5adf187b0
bump version to 0.6.11
0.6.11
2022-10-07 13:56:13 +09:00
Jari Vetoniemi
abc46a9a62
Add darwin.nix and build instructions
2022-10-07 13:55:16 +09:00
RayAlto
9f46da3bb5
Document feedback color argument in man page as well
2022-10-04 15:36:53 +09:00
Richard Kraus
22c7e3fd23
add --accept-single flag
2022-09-27 20:06:12 +09:00
Richard Kraus
c6bb62389c
fix accidentally inserted tabs
2022-09-27 20:06:12 +09:00
Richard Kraus
24015ef32e
change functionality of --ifne
...
a single item will not display the menu
2022-09-27 20:06:12 +09:00
Richard Kraus
7da8796291
fix ignored --monitor in BEMENU_OPTS env var
2022-09-18 10:14:11 +09:00
Alexander Orzechowski
1ef789fea6
wayland: Bump compositor version to fix compatibility with wl_surface_damage_buffer
2022-09-09 12:49:05 +09:00
Alexander Orzechowski
f2c88017f7
wayland: Damage using buffer coordinates
...
The surface was being damaged based on the buffer size. It's more correct to damage using the buffer coordinates.
2022-09-07 13:35:30 +09:00
Joan Bruguera
8217ae024b
Fix exiting when an unexpected Wayland error occurs.
...
If an unexpected error was returned from a Wayland API during rendering (e.g.
from wl_display_flush), the code did set input.sym = XKB_KEY_Escape, so that
the next call to poll_key would return BM_KEY_ESCAPE and bemenu would quit.
However, this has been broken since #135 , because input.key_pending was not
set, so the "fake" XKB_KEY_Escape is just ignored, bemenu doesn't quit, but
instead, it enters an infinite loop and keeps a CPU core at 100% usage.
The "quick fix" would be to just set input.key_pending wherever input.sym was
set to XKB_KEY_Escape. However, to make error handling less error-prone,
decouple it from input handling and add an error flag to (bm_menu_)render.
2022-08-03 08:55:34 +09:00
Daniel Lublin
ac30236ff7
Document alternating color argument in man page as well
2022-07-18 14:31:41 +09:00