Added separators

Now lines without labels in the input generate a menu separator.
This commit is contained in:
phillbush
2020-05-15 22:51:26 -03:00
parent a80fee227a
commit 7fbd1c5ed0
3 changed files with 44 additions and 22 deletions

4
README
View File

@@ -22,5 +22,7 @@ build and install dwm (if necessary as root).
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.
Each line is made out of a label and a command separated by any number
of tabs.
of tabs. Lines without labels are menu separators.
See the script ./xmenu.sh for an example of how xmenu can be used to
draw a simple menu with submenus and separators.