Harley Swick
e74224a406
Use -m option for setting monitor name and monitor + cleanup
2021-02-05 16:53:43 +09:00
Robert Günzler
52547807b0
support hiding filter input ( #150 )
...
* support hiding filter input
"password mode"
Signed-off-by: Robert Günzler <r@gnzler.io>
2021-02-05 13:12:48 +09:00
Julian Mehne
7523af7d18
Add --filter option.
2020-11-15 11:30:03 +09:00
Dominic Monroe
64c38dde50
Add custom key support
2020-08-28 21:01:22 +09:00
Daniel Lublin
5387677720
Add --scrollbar none
...
Useful in aliases or scripts to override a previously enabled scrollbar
on the commandline.
Also correct documentation of bm_scrollbar_mode.
2020-06-15 15:09:42 +09:00
Jari Vetoniemi
6343a658bb
wayland: support showing bemenu on all monitors
2020-03-25 19:16:57 +02:00
Corey Hinshaw
42ba51857d
Add no-exec option to bemenu-run
2020-02-23 01:41:50 +09:00
Jari Vetoniemi
467ac971d1
bemenu: reuse the calculated buffer end
...
Also assert that we don't overflow on realloc
2020-02-11 10:23:33 +02:00
Jari Vetoniemi
a89799a6b5
bemenu: fix null termination of input
2020-02-11 10:19:57 +02:00
Jari Vetoniemi
2187fa8157
bemenu-run: no argument for --fork
2020-02-08 14:01:18 +02:00
Jari Vetoniemi
56231f8119
bemenu-run: add --fork option
...
Make terminal backends not fork by default.
Use this option to fork again on curses.
For non terminal backends this option is no-op.
2020-02-08 13:21:36 +02:00
Jari Vetoniemi
178a58253a
wayland: implement set_monitor (untested)
2020-02-08 10:10:58 +02:00
Jari Vetoniemi
f30449738b
client: set overlap in menu_with_options
2020-02-08 10:09:33 +02:00
Jari Vetoniemi
dac1ffde7e
clients: add BEMENU_OPTS env var support
...
It's possible to pass any CLI argument through BEMENU_OPTS env variable
instead.
2020-02-07 23:15:21 +02:00
Jari Vetoniemi
bc584cc5f0
menu: make SHIFT_RETURN handling more elegant
...
Don't handle this on client side. Instead have a filter item and return
it if filter text is requested.
2020-02-07 21:54:13 +02:00
Jari Vetoniemi
acb24be411
ignore_ret warns on clang *sigh*
2020-02-07 16:23:52 +02:00
Jari Vetoniemi
5a4d364d50
Nuke CMake from existance
...
Welcome glorious GNU Makefile
2020-02-07 16:03:08 +02:00
Thomas Kerpe
5d787629a5
Prevent a deadloop in PATH handling
...
Empty PATH segments should no longer cause
a deadloop.
Fixes #59
2019-06-05 15:59:16 +02:00
Alyssa Ross
93cde4831b
bemenu: add --line-height / -H option
...
Text is displayed vertically centered in a line. If unspecified, or 0,
the previous behaviour of making the height the size of the text, plus
two pixels on either side, is used, so there will be no change in
behaviour if this option is not used.
Fixes https://github.com/Cloudef/bemenu/issues/44 .
2019-05-31 23:20:54 +00:00
samihda
5f01531482
Fix typo
2019-05-03 17:36:21 +02:00
Ilia Bozhinov
38069992ec
Add option to respect panel position ( #48 )
...
* implement option to make menu respect panel boundaries
* fixup! implement option to make menu respect panel boundaries
2019-03-25 23:21:17 +02:00
Dominique Martinet
67c3c04acb
client: update help (--bottom available for wayland)
2018-04-29 20:50:56 +09:00
Jari Vetoniemi
d6261274cf
bemenu: Add --ifne option
2017-02-14 21:53:15 +02:00
Jari Vetoniemi
5d4b35ec68
bemenu-run: Use bemenu-run default title
2017-02-14 21:52:57 +02:00
Jari Vetoniemi
944989c094
bemenu: Remove unneccessary initializers
2017-02-14 21:52:28 +02:00
Jari Vetoniemi
8cfa530b89
bemenu: Reuse code more
2017-02-14 21:51:02 +02:00
Jari Vetoniemi
0ff5f20178
bemenu: const correctness
2017-02-14 21:50:15 +02:00
Jari Vetoniemi
8c93e0081b
bemenu: Disable early grab on -f for now
...
We can't handle input yet during read because renderers are very dumb.
Thus -f can potentially lock your system with grab.
2017-02-14 21:29:27 +02:00
Jari Vetoniemi
7b8b38bc21
bemenu: Do not eat newlines
2017-02-14 19:20:44 +02:00
Jari Vetoniemi
208af51c0e
clients: Make -f option show menu immediately
2017-02-14 19:20:44 +02:00
Jari Vetoniemi
30ed5b1916
Copy better tokenizer from chck for now.
2015-04-06 00:47:18 +03:00
Jari Vetoniemi
eb46ba7bdc
Remove bg color option as you never see the real bg anyways.
2015-01-20 18:42:29 +02:00
Jari Vetoniemi
c2eabf2be1
Make scrollbar autohideable
2015-01-18 02:07:30 +02:00
Jari Vetoniemi
f2eaf599f6
Change default scrollbar style and make colors configurable
2015-01-18 01:38:25 +02:00
Jari Vetoniemi
9c541d0b42
Add --scrollbar option
2015-01-18 01:08:10 +02:00
Jari Vetoniemi
6b5b93239e
Use bools instead of ints
2015-01-18 00:59:11 +02:00
Jari Vetoniemi
4dc5c77d82
Fix argument constants and references to --backend option
2015-01-17 19:05:39 +02:00
Jari Vetoniemi
074b2d1b58
Remove --backend and --prioritory options, change prioritory -> priorty
...
and provide BEMENU_BACKEND env variable. Change API to reflect this
change.
There is no reliable way to detect when running on terminal (especially
when stdin is a pipe), so we need to make curses backend explicit with
BEMENU_BACKEND=curses or bm_menu_new("curses"), otherwise GUI backend
will be choosed automatically.
2015-01-17 18:53:29 +02:00
Jari Vetoniemi
f76cfbca4f
Get rid of _DEFAULT_SOURCE #defines, set this in cmake and also use
...
secure_getenv where it makes sense.
2015-01-17 18:52:21 +02:00
Jari Vetoniemi
6ac8d8c4d8
Change font functions to function on pango style font descriptions instead of size
...
and name.
2015-01-17 15:25:50 +02:00
Jari Vetoniemi
96cc64a597
Update --help with x11 backend
2015-01-16 17:45:27 +02:00
Jari Vetoniemi
ada6edc175
Add X11 renderer.
2015-01-16 01:59:09 +02:00
Jari Vetoniemi
a3e628f1c9
Print disco to stderr instead of stdout.
2014-10-31 21:29:42 +02:00
Jari Vetoniemi
2ad6acaef2
Fix font parsing.
2014-10-26 15:48:33 +02:00
Jari Vetoniemi
a44b001e82
Mkae highlighted item prefix configurable.
2014-10-26 15:42:09 +02:00
Jari Vetoniemi
8d08365645
Tokenize launch arguments.
2014-10-26 15:01:06 +02:00
Jari Vetoniemi
2294ff46e5
Remove duplicates.
2014-10-25 21:54:14 +03:00
Jari Vetoniemi
9ad69fb4b4
Sort items in bemenu-run.
2014-10-25 20:57:30 +03:00
Jari Vetoniemi
9f13ca2e6d
Share client code, add bemenu-run
2014-10-25 20:43:52 +03:00
Jari Vetoniemi
d3db039136
Single line mode, color customization, etc..
2014-10-25 20:02:34 +03:00
Jari Vetoniemi
2820734ec0
Fix stdin read.
2014-10-25 17:18:41 +03:00
Jari Vetoniemi
92b9044da8
More standard ints.
2014-10-25 01:41:57 +03:00
Jari Vetoniemi
3f5e21a83f
Cleanup wayland renderer and plugin support.
2014-10-25 01:38:30 +03:00
Jari Vetoniemi
014c20099d
Refactor code to snake_style, turn renderers into plugins, and start
...
wayland (cairo) renderer.
2014-10-22 22:46:51 +03:00
Jari Vetoniemi
d36f4039d9
Identation.
2014-04-14 20:46:15 +03:00
Jari Vetoniemi
5165a42ecb
Support disco parameter.
2014-04-14 20:43:01 +03:00
Jari Vetoniemi
77f2c264e7
Make version function exit itself.
2014-04-14 20:42:10 +03:00
Jari Vetoniemi
5dda1e46e9
Print usage on wrong options.
2014-04-14 19:39:41 +03:00
Jari Vetoniemi
ce46a04999
Add break for no reason.
2014-04-14 19:39:29 +03:00
Jari Vetoniemi
14a1644085
Useless whitespace.
2014-04-14 19:39:20 +03:00
Jari Vetoniemi
617c4ab827
Add selection wrapping (-w).
2014-04-14 19:25:16 +03:00
Jari Vetoniemi
83d67f80c0
Handle -l option by ignoring it
2014-04-13 01:26:53 +03:00
Jari Vetoniemi
3f0f507e4f
Improve CMakeLists and make stuff installable.
2014-04-12 22:42:37 +03:00
Jari Vetoniemi
27b71db67a
Add TODO about options.
2014-04-12 22:15:46 +03:00
Jari Vetoniemi
06972a3579
CLI interface, aka option parsing.
2014-04-12 22:12:44 +03:00
Jari Vetoniemi
d54381f009
Fix out of bound access, and provide better tokenize api.
2014-04-12 20:16:33 +03:00
Jari Vetoniemi
57e76dda1c
Cleanup header includes.
2014-04-12 19:59:45 +03:00
Jari Vetoniemi
311e4b3676
Use strcspn instead of strtok
2014-04-12 19:59:21 +03:00
Jari Vetoniemi
cd73a1ba61
Read items from stdin nicer (assumes stdin can fit on one buffer)
2014-04-12 19:21:40 +03:00
Jari Vetoniemi
fc08cb9cff
Dmenu outputs input text, if no matches were found.
2014-04-12 14:38:42 +03:00
Jari Vetoniemi
f2608c3c64
Handle empty items.
2014-04-12 14:15:37 +03:00
Jari Vetoniemi
a6d0413b97
Implement list structure, and feature for multiple selections.
2014-04-10 20:04:06 +03:00
Jari Vetoniemi
16e023aa3e
Assert and whitespace.
2014-04-10 20:02:27 +03:00
Jari Vetoniemi
8631506d9d
Update documentation, include only public API in doxygen output.
2014-04-10 17:26:42 +03:00
Jari Vetoniemi
4d920ad9e4
Make asserts and ifs more consistent.
2014-04-10 01:41:32 +03:00
Jari Vetoniemi
9fda2cdb2f
Fix static analyze errors.
2014-04-10 01:29:01 +03:00
Jari Vetoniemi
3c700a80d1
Check if there is selected item at all.
2014-04-10 01:25:18 +03:00
Jari Vetoniemi
67be25fbe4
Basic working bemenu with curses backend
2014-04-10 01:10:05 +03:00
Jari Vetoniemi
908749cfdf
Add basic API code.
...
=> bmMenu instancing.
=> "Rendering"
=> bmMenu releasing.
2014-03-28 21:35:32 +02:00
Jari Vetoniemi
1c511e30f5
Remove custom output directory paths.
2014-03-28 21:34:38 +02:00
Jari Vetoniemi
ff314f3c5e
Add project skeleton
2014-03-18 19:35:10 +02:00