Commit Graph

21 Commits

Author SHA1 Message Date
Corey Hinshaw
42ba51857d Add no-exec option to bemenu-run 2020-02-23 01:41:50 +09: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
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
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
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
30ed5b1916 Copy better tokenizer from chck for now. 2015-04-06 00:47:18 +03: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
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