From ba97c0d2bafdae39ffd0bb4a268be5aad12bfd8f Mon Sep 17 00:00:00 2001 From: Gideon Wolfe Date: Wed, 29 Jul 2020 13:03:09 -0700 Subject: [PATCH 1/4] Update and rename README to README.md --- README => README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) rename README => README.md (98%) diff --git a/README b/README.md similarity index 98% rename from README rename to README.md index 0004d5d..10fad21 100644 --- a/README +++ b/README.md @@ -1,5 +1,8 @@ +

+ +

XMenu - + XMenu is a menu utility for X. XMenu 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. From c16406852b98926da0743536b52a9629cab44d2e Mon Sep 17 00:00:00 2001 From: Gideon Wolfe Date: Wed, 29 Jul 2020 13:04:37 -0700 Subject: [PATCH 2/4] Update README.md little update to get people interested --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 10fad21..23c3569 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,8 @@

- XMenu + +# XMenu XMenu is a menu utility for X. XMenu receives a menu specification in stdin, shows a menu for the user @@ -15,7 +16,7 @@ spawn xmenu by right clicking on the root window (i.e. on the desktop). [0]: https://github.com/phillbush/xclickroot -§ Features +## Features XMenu comes with the following features: • XMenu reads something in and prints something out, the UNIX way. @@ -24,7 +25,7 @@ XMenu comes with the following features: • Icons (menu entries can be preceded by an icon image). -§ Files +## Files The files are: • ./README: This file. @@ -38,7 +39,7 @@ The files are: • ./icons/: Icons for the sample script -§ Installation +## Installation First, edit ./config.mk to match your local setup. @@ -58,7 +59,7 @@ the manual file ./xmenu.1 into ${MANPREFIX}/man1/ directory. make install -§ Running XMenu +## Running XMenu XMenu receives as input a menu specification where each line is a menu entry. Each line can be indented with tabs to represent nested menus. @@ -72,7 +73,7 @@ the menu generated by that script looks like. Read the manual for more information on running XMenu. -§ License +## License MIT/X Consortium License From 47f3bbaf3cabf5a9612a78525682b53e08121aa2 Mon Sep 17 00:00:00 2001 From: Gideon Wolfe Date: Wed, 29 Jul 2020 13:09:10 -0700 Subject: [PATCH 3/4] Update README.md --- README.md | 39 +++++++++++++++++++-------------------- 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 23c3569..8c48534 100644 --- a/README.md +++ b/README.md @@ -10,11 +10,9 @@ to select one of the options, and outputs the option selected to stdout. XMenu can be controlled both via mouse and via keyboard. The menu is a pop-up menu (that is, after selecting an option, the menu disappears). -Check out my other project, xclickroot[0] for an application that can +Check out my other project, [xclickroot](https://github.com/phillbush/xclickroot) for an application that can spawn xmenu by right clicking on the root window (i.e. on the desktop). -[0]: https://github.com/phillbush/xclickroot - ## Features @@ -28,33 +26,34 @@ XMenu comes with the following features: ## Files The files are: -• ./README: This file. -• ./Makefile: The makefile. -• ./config.h: The hardcoded default configuration for XMenu. -• ./config.mk: The setup for the makefile. -• ./demo.gif: A gif demonstrating how XMenu works. -• ./xmenu.1: The manual file (man page) for XMenu. -• ./xmenu.c: The source code of XMenu. -• ./xmenu.sh: A sample script illustrating how to use XMenu. -• ./icons/: Icons for the sample script + +* `./README`: This file. +* `./Makefile`: The makefile. +* `./config.h`: The hardcoded default configuration for XMenu. +* `./config.mk`: The setup for the makefile. +* `./demo.gif`: A gif demonstrating how XMenu works. +* `./xmenu.1`: The manual file (man page) for XMenu. +* `./xmenu.c`: The source code of XMenu. +* `./xmenu.sh`: A sample script illustrating how to use XMenu. +* `./icons/`: Icons for the sample script ## Installation -First, edit ./config.mk to match your local setup. +First, edit `./config.mk` to match your local setup. -In order to build XMenu you need the Imlib2, Xlib and Xft header files. -The default configuration for XMenu is specified in the file config.h, +In order to build XMenu you need the `Imlib2`, `Xlib` and `Xft` header files. +The default configuration for XMenu 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 XMenu. This command -creates the binary file ./xmenu. +creates the binary file `./xmenu`. make -By default, XMenu is installed into the /usr/local prefix. Enter the +By default, XMenu is installed into the `/usr/local` prefix. Enter the following command to install XMenu (if necessary as root). This command -installs the binary file ./xmenu into the ${PREFIX}/bin/ directory, and -the manual file ./xmenu.1 into ${MANPREFIX}/man1/ directory. +installs the binary file `./xmenu` into the `${PREFIX}/bin/` directory, and +the manual file `./xmenu.1` into `${MANPREFIX}/man1/` directory. make install @@ -66,7 +65,7 @@ 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. Lines without labels are menu separators. -See the script ./xmenu.sh for an example of how to use XMenu to draw a +See the script `./xmenu.sh` for an example of how to use XMenu to draw a simple menu with submenus and separators. The file ./demo.gif shows how the menu generated by that script looks like. From b3419d473579293b3ae8bf5d923014af79dcab52 Mon Sep 17 00:00:00 2001 From: Gideon Wolfe Date: Wed, 29 Jul 2020 13:16:59 -0700 Subject: [PATCH 4/4] Update README.md --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8c48534..5d28fd2 100644 --- a/README.md +++ b/README.md @@ -17,10 +17,11 @@ spawn xmenu by right clicking on the root window (i.e. on the desktop). ## Features XMenu comes with the following features: -• XMenu reads something in and prints something out, the UNIX way. -• Submenus (some menu entries can spawn another menu). -• Separators (menu entries can be separated by a line). -• Icons (menu entries can be preceded by an icon image). + +* XMenu reads something in and prints something out, the UNIX way. +* Submenus (some menu entries can spawn another menu). +* Separators (menu entries can be separated by a line). +* Icons (menu entries can be preceded by an icon image). ## Files @@ -66,7 +67,7 @@ Each line is made out of a label and a command separated by any number of tabs. Lines without labels are menu separators. See the script `./xmenu.sh` for an example of how to use XMenu to draw a -simple menu with submenus and separators. The file ./demo.gif shows how +simple menu with submenus and separators. The file `./demo.gif` shows how the menu generated by that script looks like. Read the manual for more information on running XMenu.