All Projects → phillbush → Pmenu

phillbush / Pmenu

Licence: mit
A pie-menu in xlib and imlib2.

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Pmenu

Xmenu
a x11 menu utility
Stars: ✭ 145 (+119.7%)
Mutual labels:  unix, x11, menu
Xnotify
read notifications from stdin and pop them up on the screen
Stars: ✭ 97 (+46.97%)
Mutual labels:  unix, x11
shod
mouse-based window manager that can tile windows inside floating containers
Stars: ✭ 126 (+90.91%)
Mutual labels:  unix, x11
Azpainter
Full color painting software for Unix-like systems for illustration drawing. This is un-official little fixed repository for package maintainers of image editor AzPainter (based on "mlib" toolkit). Official repository - http://azsky2.html.xdomain.jp/arc/download.html
Stars: ✭ 179 (+171.21%)
Mutual labels:  unix, x11
Jgmenu
A simple X11 menu
Stars: ✭ 523 (+692.42%)
Mutual labels:  x11, menu
shod-old
hybrid (floating and tiling) tabbed window manager
Stars: ✭ 56 (-15.15%)
Mutual labels:  unix, x11
x11-cr
X11 bindings for Crystal language.
Stars: ✭ 32 (-51.52%)
Mutual labels:  unix, x11
gobble
Rust rewrite of Devour
Stars: ✭ 23 (-65.15%)
Mutual labels:  unix, x11
Nscde
Modern and functional CDE desktop based on FVWM
Stars: ✭ 526 (+696.97%)
Mutual labels:  unix, x11
Xsuspender
👀 💻 💤 🔋 Save battery by auto-suspending unfocused X11 applications.
Stars: ✭ 53 (-19.7%)
Mutual labels:  unix, x11
Cmd
A simple package to execute shell commands on linux, windows and osx
Stars: ✭ 56 (-15.15%)
Mutual labels:  unix
Parsrs
CSV, JSON, XML text parsers and generators written in pure POSIX shellscript
Stars: ✭ 56 (-15.15%)
Mutual labels:  unix
Ngsplitmenucontroller
Menu Driven Split view controller
Stars: ✭ 61 (-7.58%)
Mutual labels:  menu
Wsend
wsend: The opposite of wget
Stars: ✭ 64 (-3.03%)
Mutual labels:  unix
Umonitor
Manage monitor configuration automatically
Stars: ✭ 54 (-18.18%)
Mutual labels:  x11
Engraver
PoCC Burstcoin Reference Plotter
Stars: ✭ 61 (-7.58%)
Mutual labels:  unix
Gem
Good Enough Menu for Arduino
Stars: ✭ 54 (-18.18%)
Mutual labels:  menu
Shx
Portable Shell Commands for Node
Stars: ✭ 1,111 (+1583.33%)
Mutual labels:  unix
Gpg Encrypt
Use GPG to encrypt a file using our best settings
Stars: ✭ 53 (-19.7%)
Mutual labels:  unix
Nanvix
Educational Spinoff of Nanvix
Stars: ✭ 65 (-1.52%)
Mutual labels:  unix

πmenu

πmenu is a pie menu utility for X. πmenu receives a menu specification in stdin, shows a menu for the user to select one of the options, and outputs the option selected to stdout.

πmenu comes with the following features:

  • πmenu reads something in and prints something out, the UNIX way.
  • Submenus (some pie-menu slices can spawn another menu).
  • Icons (pie-menu slices can contain icon image).
  • X resources support (you don't need to recompile πmenu for configuring it).

Check out my other project, xclickroot for an application that can spawn πmenu by right clicking on the root window (i.e. on the desktop).

Files

The files are:

  • ./README: This file.
  • ./Makefile: The makefile.
  • ./config.h: The hardcoded default configuration for πmenu.
  • ./config.mk: The settings for the makefile.
  • ./pmenu.1: The manual file (man page) for πmenu.
  • ./pmenu.c: The source code of πmenu.
  • ./pmenu.sh: A sample script illustrating how to use πmenu.

Installation

First, edit ./config.mk to match your local setup.

In order to build πmenu you need the Imlib2, Xlib and Xft header files. The default configuration for πmenu is specified in the file config.h, you can edit it, but most configuration can be changed at runtime via X resources. Enter the following command to build πmenu. This command creates the binary file ./pmenu.

make

By default, πmenu is installed into the /usr/local prefix. Enter the following command to install πmenu (if necessary as root). This command installs the binary file ./pmenu into the ${PREFIX}/bin/ directory, and the manual file ./pmenu.1 into ${MANPREFIX}/man1/ directory.

make install

Running πmenu

πmenu receives as input a menu specification where each line is a menu entry. Each line can be indented with tabs to represent nested menus. Each line is made out of a label and a command separated by any number of tabs.

See the script ./pmenu.sh for an example of how to use πmenu to draw a simple pie menu.

Read the manual for more information on running πmenu.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].