TUI-based power menu written in C for Linux and BSD systems. Handles shutting down, rebooting and suspending.
Simply run from a terminal.
I recommend setting a keybind to open and execute at the same time.
Example: kitty -T pmenu -o font_size=16 pmenu
Run pmenu --help to view valid cmd arguments
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
];
There are currently no prebuilt binaries.
To install, simply run cmake-install.sh in scripts/ to build and install.
Alternatively, manually run the following:
mkdir -p build && cmake -B build && cmake --build build && cmake --install build
- cmake
- ncurses
Simply run nix build to build according to the included flake.nix
Run cmake-build.sh in the script/ directory, or manually run the following:
mkdir -p build && cmake -B build && cmake --build build
This will output a binary at ./build/pmenu