@@ -13,7 +13,7 @@ XMenu comes with the following features: | |||||
• XMenu reads something in and prints something out, the UNIX way. | • XMenu reads something in and prints something out, the UNIX way. | ||||
• Submenus (some menu entries can spawn another menu). | • Submenus (some menu entries can spawn another menu). | ||||
• Separators (menu entries can be separated by a line). | • Separators (menu entries can be separated by a line). | ||||
• Icons (menu entries can follow by an icon image). | |||||
• Icons (menu entries can be preceded by an icon image). | |||||
§ Files | § Files | ||||
@@ -5,6 +5,9 @@ PROG = xmenu | |||||
PREFIX = /usr/local | PREFIX = /usr/local | ||||
MANPREFIX = ${PREFIX}/share/man | MANPREFIX = ${PREFIX}/share/man | ||||
LOCALINC = /usr/local/include | |||||
LOCALLIB = /usr/local/lib | |||||
X11INC = /usr/X11R6/include | X11INC = /usr/X11R6/include | ||||
X11LIB = /usr/X11R6/lib | X11LIB = /usr/X11R6/lib | ||||
@@ -13,8 +16,8 @@ FREETYPEINC = /usr/include/freetype2 | |||||
#FREETYPEINC = ${X11INC}/freetype2 | #FREETYPEINC = ${X11INC}/freetype2 | ||||
# includes and libs | # includes and libs | ||||
INCS = -I/usr/local/include -I${X11INC} -I${FREETYPEINC} | |||||
LIBS = -L/usr/local/lib -L${X11LIB} -lfontconfig -lXft -lX11 -lImlib2 | |||||
INCS = -I${LOCALINC} -I${X11INC} -I${FREETYPEINC} | |||||
LIBS = -L${LOCALLIB} -L${X11LIB} -lfontconfig -lXft -lX11 -lImlib2 | |||||
# flags | # flags | ||||
CPPFLAGS = | CPPFLAGS = | ||||
@@ -109,7 +109,7 @@ The size in pixels of the border around the menu. | |||||
The size in pixels of the item separator. | The size in pixels of the item separator. | ||||
.SH EXAMPLES | .SH EXAMPLES | ||||
The following is an script exemplifying the use of | |||||
The following script illustrates the use of | |||||
.BR xmenu . | .BR xmenu . | ||||
The output is redirected to | The output is redirected to | ||||
.IR sh (1), | .IR sh (1), | ||||
@@ -121,7 +121,7 @@ creating a command to be run by the shell. | |||||
cat <<EOF | xmenu | sh & | cat <<EOF | xmenu | sh & | ||||
Applications | Applications | ||||
IMG:./web.png Web Browser firefox | IMG:./web.png Web Browser firefox | ||||
Image editor gimp | |||||
IMG:./gimp.png Image editor gimp | |||||
Terminal (xterm) xterm | Terminal (xterm) xterm | ||||
Terminal (urxvt) urxvt | Terminal (urxvt) urxvt | ||||
Terminal (st) st | Terminal (st) st | ||||
@@ -132,7 +132,7 @@ EOF | |||||
.EE | .EE | ||||
.PP | .PP | ||||
For example, by selecting \(lqApplications\(rq, a new menu will appear. | For example, by selecting \(lqApplications\(rq, a new menu will appear. | ||||
Selecting \(lqWeb Browser\(rq in the new menu will open firefox. | |||||
Selecting \(lqWeb Browser\(rq in the new menu opens firefox. | |||||
.SH SEE ALSO | .SH SEE ALSO | ||||
.IR dmenu (1), | .IR dmenu (1), | ||||
.IR 9menu (1), | .IR 9menu (1), | ||||