Skip to content

phreshbrread/pmenu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

146 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pmenu

TUI-based power menu written in C for Linux and BSD systems.

pmenu running in a terminal

Usage

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

Install

Nix

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
    ];

Everything else

Installing

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

Building

Dependencies:

  • gcc
  • make (gmake on FreeBSD)
  • ncurses

To build, run make to output a binary at bin/pmenu.
Object files are created in obj/.

About

TUI-based power menu written in C for Linux and BSD systems

Resources

License

Stars

Watchers

Forks

Contributors