由 dmenu 启发的动态菜单库和客户端程序
由 dmenu 启发的动态菜单库和客户端程序
发行版由 29317348D687B86B 签名,并在 GitHub 上发布。
…# Make sure you have GNU Make and pkg-config installed
brew install make pkg-config
# You may need to setup your pkg-config to point to the brew version of the libraries
# For example to build curses backend, you'd do:
PKG_CONFIG_PATH="/usr/local/opt/ncurses/lib/pkgconfig" sh build-osx.sh curses
# Other than that, follow the normal build steps, but use `build-osx.sh` instead of make此仓库中提供了 default.nix,您可以通过运行以下命令来安装 bemenu:
nix-env -i -f default.nix此操作只会安装 curses 后端。
以下所有依赖项都使用 pkg-config 进行搜索
| 后端 | 依赖项 |
|---|---|
| curses | ncursesw |
| x11 | x11, xinerama, cairo, pango, pangocairo |
| Wayland | wayland-client, wayland-protocols, cairo, pango, pangocairo, xkbcommon |
目前,从剪贴板粘贴是在运行时使用 wl-paste 和 xclip 完成,先后尝试执行。
| 变量 | 描述 | 值 |
|---|---|---|
| BEMENU_OPTS | bemenu 的选项,从 env 中运行 bemenu | 任意 cli 参数 |
| BEMENU_BACKEND | 按名称强制使用后端 | x11, wayland, curses |
| BEMENU_RENDERER | 通过加载 .so 文件强制使用后端 | .so 文件的路径 |
| BEMENU_RENDERER |
暂无开放 Issues,或尚未同步最近议题。