Tomáš Čech
25218f98fa
Check explicitly for Xinerama
...
Xinerama doesn't need to be present even when base X11 is. Check it
explicitly.
2015-09-22 00:29:33 +02:00
Tomáš Čech
ecd7d4056f
Respect install destinations set by variables
...
Use CMAKE_INSTALL_LIBDIR and CMAKE_INSTALL_INCLUDEDIR as destination
base.
2015-09-21 21:48:45 +02:00
Mark Oteiza
0874fc5d49
Add some Emacs keybindings
...
* C-v to curses backend
* C-v, M-v, M-<, M-> to x11 and wayland backends
Signed-off-by: Jari Vetoniemi <mailroxas@gmail.com>
2015-04-06 23:22:12 +03:00
Jari Vetoniemi
d8097c44dd
Make renderers try detect whether they are in correct env.
2015-03-09 09:53:57 +02:00
Jari Vetoniemi
bf5fd83491
Fix mac os x build
2015-02-02 12:25:56 +02:00
Jari Vetoniemi
98f44cbb78
Handle build-time dependency checking better, so you can compile bemenu
...
without wayland or x11 easier.
2015-01-30 03:16:04 +02:00
Jari Vetoniemi
e53e77bf05
Allows -l 1
2015-01-20 18:43:44 +02: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
7d019e767b
Bind alt+h and alt+l as well
2015-01-18 04:51:02 +02:00
Jari Vetoniemi
41e9000dd6
Add math library linkage
2015-01-18 04:42:09 +02:00
Jari Vetoniemi
bd6051073d
Swap j-k
2015-01-18 04:35:26 +02:00
Jari Vetoniemi
c04a2c4192
Change scrollbar to represent content instead of index.
2015-01-18 04:23:18 +02:00
Jari Vetoniemi
92152cb5fb
Add alt keybindings from demenu to gui backends
2015-01-18 03:34:18 +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
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
ada6edc175
Add X11 renderer.
2015-01-16 01:59:09 +02:00
Jari Vetoniemi
0cd1c991d2
Take monitor height into account again.
2015-01-16 01:48:47 +02:00
Jari Vetoniemi
2bf8bbfcde
Working pango code.
2015-01-15 22:18:23 +02:00
Jari Vetoniemi
9baca87123
Basic pango.
2014-11-23 21:20:03 +02:00
Jari Vetoniemi
20189fb8d2
Fatal on busy buffers.
2014-11-05 21:43:25 +02:00
Jari Vetoniemi
a90bf2f512
Redraw only when input changed.
2014-11-02 07:58:45 +02:00
Jari Vetoniemi
e8fc51d80c
Get output width and height.
2014-11-02 07:58:34 +02:00
Jari Vetoniemi
dfda59ad18
Better list margin.
2014-11-02 06:59:07 +02:00
Jari Vetoniemi
0d5cdc2c96
Key repeats.
2014-11-02 06:48:53 +02:00
Jari Vetoniemi
ee3c41f162
Make shift + tab the current tab behavior, and normal tab to cycle.
2014-11-02 04:08:40 +02:00
Jari Vetoniemi
4f2d73070c
Cleanup cairo drawing.
2014-10-26 17:49:12 +02:00
Jari Vetoniemi
ac692bb485
Add small margin to left when drawing with cairo.
2014-10-26 15:52:04 +02:00
Jari Vetoniemi
a44b001e82
Mkae highlighted item prefix configurable.
2014-10-26 15:42:09 +02:00
Jari Vetoniemi
fb6a49e690
Use real font height for window height.
2014-10-26 15:41:53 +02:00
Jari Vetoniemi
64c4bbdf98
Cleanup all resources used by wayland renderer.
2014-10-25 22:16:31 +03:00
Jari Vetoniemi
b391bbe608
Use cleanable buffer for curses renderer.
2014-10-25 22:16:20 +03:00
Jari Vetoniemi
d799bbd246
Close when connection is broken.
2014-10-25 21:12:55 +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
f8d97efb8f
Install wayland renderer as well.
2014-10-23 02:20:34 +03:00
Jari Vetoniemi
c98fcc5100
Add wayland renderer (experimental)
2014-10-23 02:11:35 +03:00
Jari Vetoniemi
6ebdb0030a
Only compile curses renderer if curses was found.
2014-10-23 02:10:22 +03:00
Jari Vetoniemi
df396986b1
vsnprintf is null terminated.
2014-10-23 02:09:52 +03:00
Jari Vetoniemi
20c1b5d04f
Use get_wch
2014-10-23 01:33:12 +03:00
Jari Vetoniemi
fa9c421b77
No longer true.
2014-10-22 23:33:06 +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