1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
# -*- mode: shell-script; -*-
#The definitions here are used by all window managers that !include menu.h.
#This way, you can set your prefferences (like whether to use xterm/rxvt,
#how long do you want your menutitles, etc) for all window-managers.
#
#(This all assumes you''re using menu-1.4 or higher).
#This file is part of the menu package (version 1.4 or higher).
#For more information, see /usr/doc/menu/html
#If you prefer long titles, change the definition below accordingly.
#(this will currently not give you many long titles, as most menuentries
#still don''t provide long titles. In those cases, the defintion below
#defaults to the short title).
function title()=$title
#function title()=ifelse($longtitle,$longtitle,$title)
#if you don''t like to see the icons, (un)comment (out) the lines below:
function icon()=ifelse($icon32x32, $icon32x32, \
ifelse($icon16x16, $icon16x16, $icon))
#function icon()=
#if you prefer an rxvt as your default terminal-programme, comment out
#the next lines, and uncomment the definition below
#function term()=\
# "xterm -sb -sl 500 -j -ls -fn 7x14 -geometry 80x30"\
# " -T \"" title() "\"" ifnempty(icon()," -n " icon()) " -e " $command
function term()=\
"xterm " ifnempty($visible,"-ut") \
ifnempty($geometry,"-geometry ") $geometry \
" -T \"" title() "\"" ifnempty(icon()," -n " icon()) " -e " $command
#function term()="rxvt"\
# ifnempty(icon()," -n " icon()) -T "\"" $title "\" \
# ifnempty($geometry,"-geometry " $geometry) -e " $command
|