Commit Graph

13 Commits

Author SHA1 Message Date
Tomáš Čech
556961648b Look for renderers on right location 2015-09-21 22:18:14 +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
660f832fad Cleanup init. 2014-10-25 22:16:09 +03:00
Jari Vetoniemi
595ff4f687 Use dprintf 2014-10-25 20:43:31 +03:00
Jari Vetoniemi
d3db039136 Single line mode, color customization, etc.. 2014-10-25 20:02:34 +03:00
Jari Vetoniemi
b03cd1ea53 Use BM_PLUGIN_VERSION for renderers. 2014-10-25 16:39:39 +03:00
Jari Vetoniemi
3f5e21a83f Cleanup wayland renderer and plugin support. 2014-10-25 01:38:30 +03:00
Jari Vetoniemi
0abad19b3e Pass bm_menu struct on each render api call. 2014-10-22 23:10:11 +03:00
Jari Vetoniemi
0b02230935 Call constructor of activated renderer. 2014-10-22 22:52:14 +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
4f72d188ad Fix documentation. 2014-04-14 19:25:04 +03:00
Jari Vetoniemi
06972a3579 CLI interface, aka option parsing. 2014-04-12 22:12:44 +03:00