Jari Vetoniemi
e78e241a6a
make: better clean for osx shenigans
2020-02-09 07:22:16 +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
b688425bf3
menu: fix custom selection
2020-02-08 12:48:15 +02:00
Jari Vetoniemi
6b3b71b19a
README/man: update documentation
...
Add missing environment variables to man pages.
Prefer the word backend instead of renderer in human speech.
2020-02-08 12:25:06 +02:00
Jari Vetoniemi
b322e50798
make: support out-of-git builds
...
E.g. releases would be these with git archive and such.
2020-02-08 12:05:41 +02:00
Jari Vetoniemi
9295dc0016
make: track version from file, implement GIT_SHA1
...
We track the version from file, so the targets depending on version will
be rebuilt. We also track .git/index, so library and renderers get
rebuilt for new BM_PLUGIN_VERSION on each commit.
2020-02-08 11:48:41 +02:00
Jari Vetoniemi
1f2b831976
README: note about testing from source
2020-02-08 11:31:06 +02:00
Jari Vetoniemi
35665cac8f
README: s/ncurses/ncursesw/
2020-02-08 11:26:33 +02:00
Jari Vetoniemi
83bc754e28
README: add preview
2020-02-08 11:21:39 +02:00
Jari Vetoniemi
0d7e1aa9bd
make: depends on ncursesw not ncurses
2020-02-08 10:53:35 +02:00
Jari Vetoniemi
e4798aa43d
make: provide a .pc file
2020-02-08 10:49:22 +02:00
Jari Vetoniemi
fa83f1cc21
make: track wayland xml files
2020-02-08 10:48:07 +02:00
Jari Vetoniemi
17fe1f47c9
html: add missing Doxyfile
2020-02-08 10:47:31 +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
b4fc82a3aa
curses: fix list indent with scrollbar
2020-02-08 00:25:08 +02:00
Jari Vetoniemi
bb7db3e2b7
cairo/curses: dmenu like indent for lists
...
Fixes #72
2020-02-08 00:22:52 +02:00
Jari Vetoniemi
1c487ba808
cairo: make scrollbar 1 character thick
2020-02-07 23:53:46 +02:00
Jari Vetoniemi
d8208baee0
README: Custom PREFIX should be passed to build
2020-02-07 23:34:41 +02:00
Jari Vetoniemi
9110c7c42e
x11: set window class and name
...
class is always bemenu, name is whatever is the title of the menu
2020-02-07 23:31:41 +02:00
Jari Vetoniemi
f8d025b350
x11: whitespace
2020-02-07 23:31: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
4534cc8c73
menu: whitespace
2020-02-07 21:53:56 +02:00
Jari Vetoniemi
3a289e6ce9
wayland-scanner: generate using private-code
...
code is deprecated
2020-02-07 21:32:44 +02:00
Jari Vetoniemi
93a03a49a2
README: update osx building instructions
2020-02-08 04:29:32 +09:00
Jari Vetoniemi
05c06319ca
make: osx troubles
2020-02-08 04:29:32 +09:00
Jari Vetoniemi
4315a980dd
make: use $(shell) $$() and cp/chmod
2020-02-08 04:29:32 +09:00
Jari Vetoniemi
ee700c11ea
make: _DEFAULT_SOURCE is required
2020-02-07 18:32:22 +02:00
Jari Vetoniemi
fcce2e019a
menu: left/right now moves always cursor
...
Use SHIFT + left/right to move selection
2020-02-07 18:28:48 +02:00
Jari Vetoniemi
7af8c09f10
cairo: don't draw < if there's no items displayed
2020-02-07 18:22:35 +02:00
Jari Vetoniemi
c4856d784b
cairo: always have space for < at single line mode
2020-02-07 18:19:56 +02:00
Jari Vetoniemi
42eca37688
cairo: add cursor
2020-02-07 18:15:34 +02:00
Jari Vetoniemi
e7d6562046
cairo: useless memsets
2020-02-07 18:15:24 +02:00
Jari Vetoniemi
2f370033f3
make: clean the xdg-shell.c
2020-02-07 17:29:35 +02:00
Jari Vetoniemi
2a6134cd68
make: quote the wayland-protocols path
2020-02-07 17:28:36 +02:00
Jari Vetoniemi
f0af8bdd9c
Fix missing dependencies from renderers
2020-02-07 17:27:40 +02:00
Jari Vetoniemi
f04c5c458a
cairo: use inline instead of attributes
2020-02-07 17:05:10 +02:00
Jari Vetoniemi
a53189314f
cairo: remove whitespace
2020-02-07 17:03:33 +02:00
Jari Vetoniemi
4cf09996ac
README: document dependencies
2020-02-07 16:51:42 +02:00
Jari Vetoniemi
33e0d18aab
GNUmakefile: remove whitespace
2020-02-07 16:50:02 +02:00
Jari Vetoniemi
c195617f6e
Install needs gnu install
2020-02-07 23:43:38 +09:00
Jari Vetoniemi
ac9790b059
Fixes and docs from osx
2020-02-07 23:35:01 +09:00
Jari Vetoniemi
acb24be411
ignore_ret warns on clang *sigh*
2020-02-07 16:23:52 +02:00
Jari Vetoniemi
46ad1d7cdb
.gitignore: Ignore everything
...
If you want to add files, add them with `-f` option.
2020-02-07 16:04:01 +02:00
Jari Vetoniemi
5a4d364d50
Nuke CMake from existance
...
Welcome glorious GNU Makefile
2020-02-07 16:03:08 +02:00
Jari Vetoniemi
9ff670f349
Fix gcc warnings
2020-02-07 13:05:15 +02:00
Jari Vetoniemi
543b6c4473
Merge pull request #86 from khardix/pr/extern-wayland-globals
...
Mark global wayland constant extern
2020-02-07 17:10:25 +09:00
Jan Staněk
2f45c191bc
Mark global wayland constant extern
...
Without `extern`, the changed lines are not declarations,
but "tentative definitions"
(according to GCC man page, option `-fcommon`).
When specified in a header file
that is included in more than one `.c` file,
these result in linking failure unless `-fcommon` is specified.
GCC 10 changed the default from `-fcommon` to `-fno-common`,
and as such the previous code no longer links properly.
With `extern`, these lines are considered declarations,
and the linking proceeds successfully.
2020-02-06 17:35:20 +01:00