# ^- This must be the first line of any Eterm config file! # Format is: where VERSION is replaced by # the version it was written for, # minus the "DR-" if any. # # This is a sample Eterm config file. It should be placed in # ~/.Eterm/themes/@THEME@/MAIN and modified to suit your needs # # As always, the authors guarantee absolutely nothing and take # no responsibility for anything that might happen to you, your # computer, your dog, your sex life, or anyone or anything else # directly or indirectly through the use of, or inability to use, # this program. Use at your OWN risk. # A begin to get things started. begin main # Define the color properties begin color # Foreground, background, cursor, scrollbar, pointer colors foreground white background black cursor #ffff00 cursor_text #880000 scrollbar #3f1c00 unfocused_scrollbar #777777 menu #777777 unfocused_menu #777777 menu_text black pointer white # video attribute can either be "normal" or "reverse" video normal # Redefine the 16 basic colors, if you really feel the need # First word is "color", next is the number (0-15, BD, or UL), # then the values for red, green, and blue separated by spaces # Numbers are base 10 unless preceded by "0x" (base 16) or '0' # (base 8). Alternatively, you can use color names or #xxxxxx # format. # The colors below are taken from Rasterman's .Xdefaults file. They are intended to # display ANSI art properly when combined with a good ANSI-art font (like vga or # Rasterman's nexus font). color 0 0 0 0 color 1 0xaa 0 0 color 2 0 0210 0 color 3 0xaa 0x55 0x22 color 4 0 0 0xaa color 5 0xaa 0 0xaa color 6 0 0xaa 0xaa color 7 0xaa 0xaa 0xaa color 8 0x44 0x44 0x44 color 9 0xff 0x44 0x44 color 10 0x44 0xff 0x44 color 11 0xff 0xff 0x44 color 12 0x44 0x44 0xff color 13 0xff 0x44 0xff color 14 0x44 0xff 0xff color 15 #ffffff color bd #ffffff color ul #ffffff # This ends the color section. Any text after the word "end" is # assumed to be a comment and ignored. end color # The X11 attributes section. Should be fairly self-explanatory, # but if not, consult the X man page. begin attributes # Geometry == widthxheight+x_offset+y_offset, offsets from top left # if +, bottom right if - # geometry 132x50+100+100 title "%appname() -- Mutt Theme" name mutt # iconname mutt # Set the fonts. These must be monospace fonts. The values shown are # the Eterm defaults. The "bold" font is the font used if color BD has # not been set and Eterm cannot map the foreground color to one of the # high-intensity colors (8-15). font default 2 font 0 5x7 font 1 6x10 font 2 fixed font 3 8x13 font 4 9x15 font 5 10x20 font 6 12x24 # font bold 7x14 end attributes # Define the imageclasses. begin imageclasses # You must define this before setting any images that use it. This is the $PATH-style variable # that determines where Eterm looks for image files. path "./pix/:~/.Eterm/:~/.Eterm/themes/Eterm/pix:~/.Eterm/pix/:@PKGDATADIR@/pix/" # If you want a different icon than the standard Eterm one, set this. # icon Eterm.xpm # This is the background animator. See the man page for the syntax. # anim 3 foo1 foo2 foo3 # Here we define an image. begin image # The first thing you set when defining an image MUST be the type. No type, no dice. The type # should be one of the following: background, up_arrow, down_arrow, left_arrow, right_arrow, # trough, anchor, menu, or submenu type background # The mode line. This defines the startup mode for the image, as well as what modes are allowed. # Valid modes are "image" (to display the image file), "trans" (to be transparent), or "viewport" # (for viewport mode). Syntax is "mode allow ". mode image allow image trans viewport auto # Next you should set the state. This is either normal, selected, or clicked. state normal # Here you set the file. You can also set the geometry string here if you follow the filename with # an @ sign. That way, you can include the geometries in your pixmaps.list file. file %random(`cat pixmaps.list`) # Set the image border. This is a portion of the image which will be kept at its actual size when # scaling. Use this for beveled images (buttons, etc.). border 0 0 0 0 # Th-th-th-th-that's all folks. end image begin image type menu mode image allow image auto state normal file bar_horizontal_1.png geom 100x100+0+0:scale border 3 3 2 2 state selected file bar_horizontal_2.png geom 100x100+0+0:scale border 3 3 2 2 end image begin image type submenu mode image allow image auto state normal file menu1.png geom 100x100+0+0:scale border 3 15 3 3 padding 3 15 3 3 state selected file menu2.png geom 100x100+0+0:scale border 3 15 3 3 padding 3 15 3 3 state clicked file menu3.png geom 100x100+0+0:scale border 3 15 3 3 padding 3 15 3 3 end image end %include "mutt-menu.cfg" # This section *must* come after the menu definitions if you want # menu actions to work. C'est la vie. :-) # # Syntax: bind [ { | anymod } ] { | |