spmenu

image

What is spmenu?

spmenu is an X11 menu application based on dmenu which takes standard input, parses it, and lets the user choose an option and sends the selected option to standard output.

In addition to this, it also serves as a run launcher through the included shell script spmenu_run, which handles both $PATH listing, .desktop entries and file listing.

It is designed to integrate well with my dwm fork, speedwm.

Improvements over dmenu

..and more! Note that spmenu is still compatible with dmenu. Just pass the original arguments.

Dependencies

Installation (GNU/Linux, *BSD)

emerge dev-vcs/git, pacman -S git, apt-get install git

git clone https://git.speedie.site/spmenu

cd spmenu/

./build.sh # Run as root. Install any missing dependencies.

Report any issues with the build.sh script. There’s also a Makefile which you can use but it may require editing host.mk and toggle.mk manually.

Installation (macOS/OS X/Mac OS X)

NOTE: Adds Xquartz as a dependency. I highly recommend you use Homebrew to install all the dependencies.

Follow ‘Installation (GNU/Linux, *BSD)’ for the most part. macOS requires some minor changes though, such as disabling pango, pangoxft, imlib2, and openssl. It is not possible to compile spmenu with these as of now, unless you’re a developer.

PREFIX must also be set to /usr/local instead of the default /usr if you’re using macOS Catalina or newer, because Apple made /usr read-only.

See this wiki article for more information.

Installation (Gentoo GNU/Linux)

If you are on Gentoo GNU/Linux, you can add my overlay which includes x11-misc/spmenu as well as other useful packages.

Installation (Arch GNU/Linux)

If you are on Arch GNU/Linux, you can add my repository which includes spmenu as well as other useful packages.

There’s also a PKGBUILD. To use it, simply make install_arch in the directory the PKGBUILD is located.

If you wish to package spmenu for your GNU/Linux distribution, feel free to add it to this list.

TODO

Pull requests would be greatly appreciated for any of these issues!

General

Unlikely, but maybe at some point in the distant future

Bugs

Scripts

There’s a page dedicated to user scripts over on the wiki. Feel free to contribute and try scripts on there.

More information

See the included man page.

License

spmenu is licensed under the MIT license. See the included LICENSE file for more information!

Wiki

spmenu has a wiki for more extensive documentation. Contributions to the wiki are appreciated!