TUI-based power menu written in C for Linux and BSD systems.
Simply run from a terminal.
Menu options can be selected using the arrow keys, hjkl, or mouse clicks.
Run pmenu --help to view valid cmd arguments.
To have this act like a standard power prompt, I recommend setting a keybind to open and run in a new terminal.
Example: kitty -T pmenu -o font_size=16 pmenu
This repo can be added as a custom package.
To do so, include the following in your flake.nix:
inputs = {
pmenu.url = "github:phreshbrread/pmenu";
};
Make sure the nixosConfiguration for your system receives this input.
Then, in your configuration.nix (or wherever else your package lists are):
environment.systemPackages = with pkgs; [
inputs.pmenu.packages.${pkgs.system}.default
];
To install, simply run make install (may require superuser permissions).
Alternatively, if you don't have superuser perms, running make install-local will install pmenu to ~/.local/bin/pmenu
Dependencies:
- gcc
- make (gmake on FreeBSD)
- ncurses
To build, run make to output a binary at bin/pmenu.
Object files are created in obj/.
