From 6675db306f86b1406fc60e0a0c44d1bc77e7e008 Mon Sep 17 00:00:00 2001 From: Michael Jennings Date: Thu, 28 Oct 1999 15:29:31 +0000 Subject: [PATCH] Thu Oct 28 16:17:21 PDT 1999 Michael Jennings Added an "auto" theme. So now the correct answer to the question, "How do I turn on auto mode in Eterm?" is "Eterm -t auto" I also finally got around to fixing (again) the version numbers in the theme files. SVN revision: 1034 --- ChangeLog | 9 + themes/Eterm/theme.cfg.in | 2 +- themes/Makefile.am | 8 +- themes/auto/.cvsignore | 1 + themes/auto/auto-menu.cfg | 875 ++++++++++++++++++++++++++++++++++++ themes/auto/theme.cfg.in | 346 ++++++++++++++ themes/cEterm/theme.cfg.in | 2 +- themes/chooser/theme.cfg.in | 2 +- themes/emacs/theme.cfg.in | 2 +- themes/irc/theme.cfg.in | 2 +- themes/trans/theme.cfg.in | 2 +- 11 files changed, 1241 insertions(+), 10 deletions(-) create mode 100644 themes/auto/.cvsignore create mode 100644 themes/auto/auto-menu.cfg create mode 100644 themes/auto/theme.cfg.in diff --git a/ChangeLog b/ChangeLog index cdac701..6b20170 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2673,3 +2673,12 @@ Thu Oct 28 16:09:26 PDT 1999 Michael Jennings to fixing one of these days. ------------------------------------------------------------------------------- +Thu Oct 28 16:17:21 PDT 1999 Michael Jennings + + Added an "auto" theme. So now the correct answer to the question, + "How do I turn on auto mode in Eterm?" is "Eterm -t auto" + + I also finally got around to fixing (again) the version numbers in the + theme files. + +------------------------------------------------------------------------------- diff --git a/themes/Eterm/theme.cfg.in b/themes/Eterm/theme.cfg.in index da5770d..3acf010 100644 --- a/themes/Eterm/theme.cfg.in +++ b/themes/Eterm/theme.cfg.in @@ -1,4 +1,4 @@ - + # ^- This must be the first line of any Eterm config file! # Format is: where VERSION is replaced by # the version it was written for, diff --git a/themes/Makefile.am b/themes/Makefile.am index 01438d1..68b09b3 100644 --- a/themes/Makefile.am +++ b/themes/Makefile.am @@ -1,10 +1,10 @@ # $Id$ -THEMES = Eterm cEterm chooser emacs irc mutt trans +THEMES = Eterm auto cEterm chooser emacs irc mutt trans -EXTRA_DIST = Eterm/theme.cfg.in irc/theme.cfg.in chooser/theme.cfg.in emacs/theme.cfg.in mutt/theme.cfg.in \ - trans/theme.cfg.in Eterm/Eterm-menu.cfg irc/irc-menu.cfg chooser/chooser-menu.cfg emacs/emacs-menu.cfg \ - mutt/mutt-menu.cfg trans/trans-menu.cfg cEterm/cEterm-menu.cfg cEterm/theme.cfg.in +EXTRA_DIST = Eterm/theme.cfg.in irc/theme.cfg.in chooser/theme.cfg.in emacs/theme.cfg.in mutt/theme.cfg.in trans/theme.cfg.in \ + Eterm/Eterm-menu.cfg irc/irc-menu.cfg chooser/chooser-menu.cfg emacs/emacs-menu.cfg mutt/mutt-menu.cfg trans/trans-menu.cfg \ + cEterm/cEterm-menu.cfg cEterm/theme.cfg.in auto/auto-menu.cfg auto/theme.cfg.in install-data-hook: -@for i in $(THEMES) ; do \ diff --git a/themes/auto/.cvsignore b/themes/auto/.cvsignore new file mode 100644 index 0000000..4674fba --- /dev/null +++ b/themes/auto/.cvsignore @@ -0,0 +1 @@ +theme.cfg diff --git a/themes/auto/auto-menu.cfg b/themes/auto/auto-menu.cfg new file mode 100644 index 0000000..ac84547 --- /dev/null +++ b/themes/auto/auto-menu.cfg @@ -0,0 +1,875 @@ + +begin menu + title Font + font -*-times-bold-r-normal--14-*-*-*-*-*-iso8859-1 + begin menuitem + text "Normal" + action string "\e]50;#" + end + begin menuitem + text "Larger" + action string "\e]50;#+" + end + begin menuitem + text "Smaller" + action string "\e]50;#-" + end + - + begin menuitem + text "Font 1" + action string "\e]50;#1" + end + begin menuitem + text "Font 2" + action string "\e]50;#2" + end + begin menuitem + text "Font 3" + action string "\e]50;#3" + end + begin menuitem + text "Font 4" + action string "\e]50;#4" + end +end +begin menu + title Toggles + begin menuitem + text "Cursor Visible" + action string "\e[?25t" + end + begin menuitem + text "Home on Echo" + action string "\e[?1010t" + end + begin menuitem + text "Home on Refresh" + action string "\e[?1011t" + end + begin menuitem + text "Home on Input" + action string "\e[?1012t" + end + begin menuitem + text "Map Alert" + action string "\e]6;21\a" + end + begin menuitem + text "Primary/Secondary Screen" + action string "\e[?47t" + end + begin menuitem + text "Reverse Video" + action string "\e[?5t" + end + begin menuitem + text "Select Trailing Spaces" + action string "\e]6;25\a" + end + begin menuitem + text "Select Whole Line on Triple-click" + action string "\e]6;23\a" + end + begin menuitem + text "Visual Bell" + action string "\e]6;20\a" + end + begin menuitem + text "X11 Mouse Reporting" + action string "\e[?1000t" + end + begin menuitem + text "Xterm Selection Behavior" + action string "\e]6;22\a" + end +end +begin menu + title Keys + begin menuitem + text "Application Arrow Keys" + action string "\e[?1t" + end + begin menuitem + text "Application Keypad" + action string "\e[?66t" + end + begin menuitem + text "Backspace/Delete" + action string "\e[?67t" + end + begin menuitem + text "Xterm Shift-Keys" + action string "\e[?35t" + end +end +begin menu + title Scrollbar + begin menuitem + text "Toggle Visibility" + rtext "Ctrl-Button2" + action string "\e[?30t" + end + begin menuitem + text "Swap Sides" + action string "\e]6;11\a" + end + begin menuitem + text "Toggle Floating" + action string "\e]6;12\a" + end + begin menuitem + text "Toggle Popup Mode" + action string "\e]6;13\a" + end + - + begin menuitem + text "Motif (Traditional) Style" + action string "\e]6;10;motif;;\a" + end + begin menuitem + text "NeXT Style" + action string "\e]6;10;next;;\a" + end + begin menuitem + text "Xterm Style" + action string "\e]6;10;xterm;;\a" + end +end +begin menu + title Width + begin menuitem + text "5" + action string "\e]6;10;;5;\a" + end + begin menuitem + text "6" + action string "\e]6;10;;6;\a" + end + begin menuitem + text "7" + action string "\e]6;10;;7;\a" + end + begin menuitem + text "8" + action string "\e]6;10;;8;\a" + end + begin menuitem + text "9" + action string "\e]6;10;;9;\a" + end + begin menuitem + text "10" + action string "\e]6;10;;10;\a" + end + begin menuitem + text "11" + action string "\e]6;10;;11;\a" + end + begin menuitem + text "12" + action string "\e]6;10;;12;\a" + end + begin menuitem + text "13" + action string "\e]6;10;;13;\a" + end + begin menuitem + text "14" + action string "\e]6;10;;14;\a" + end + begin menuitem + text "15" + action string "\e]6;10;;15;\a" + end + begin menuitem + text "16" + action string "\e]6;10;;16;\a" + end + begin menuitem + text "17" + action string "\e]6;10;;17;\a" + end + begin menuitem + text "18" + action string "\e]6;10;;18;\a" + end + begin menuitem + text "19" + action string "\e]6;10;;19;\a" + end + begin menuitem + text "20" + action string "\e]6;10;;20;\a" + end +end +begin menu + title "Move to Desktop" + begin menuitem + text "0" + action string "\e]6;50;0;\a" + end + begin menuitem + text "1" + action string "\e]6;50;1;\a" + end + begin menuitem + text "2" + action string "\e]6;50;2;\a" + end + begin menuitem + text "3" + action string "\e]6;50;3;\a" + end + begin menuitem + text "4" + action string "\e]6;50;4;\a" + end + begin menuitem + text "5" + action string "\e]6;50;5;\a" + end + begin menuitem + text "6" + action string "\e]6;50;6;\a" + end + begin menuitem + text "7" + action string "\e]6;50;7;\a" + end +end +begin menu + title Terminal + begin menuitem + text "Toggles" + action submenu "Toggles" + end + begin menuitem + text "Keys" + action submenu "Keys" + end + begin menuitem + text "Scrollbar" + action submenu "Scrollbar" + end + begin menuitem + text "Move to Desktop..." + action submenu "Move to Desktop" + end + - + begin menuitem + text "Steal Focus" + rtext "Ctrl-Button1" + action string "\e]5;\a" + end + begin menuitem + text "Full Reset" + action string "\ec" + end +end + +begin menu + title Transparency + begin menuitem + text "Force Update" + action string "\e]6;3\a" + end + begin menuitem + text "Toggle Desktop Watching" + action string "\e]6;4\a" + end + begin menuitem + text "Toggle Transparency" + action string "\e]6;0\a" + end +end +begin menu + title Tiled + begin menuitem + text "70's Marble" + action string "\e]20;70s_marble.png;0x0+0+0:tile\a" + end + begin menuitem + text "7m" + action string "\e]20;7m.png;0x0+0+0:tile\a" + end + begin menuitem + text "Alabama Clay" + action string "\e]20;dirt.png;0x0+0+0:tile\a" + end + begin menuitem + text "Anomaly" + action string "\e]20;a8.png;0x0+0+0:tile\a" + end + begin menuitem + text "Black Stone" + action string "\e]20;blackstone.png;0x0+0+0:tile\a" + end + begin menuitem + text "Blue Ether" + action string "\e]20;ether_blue.png;0x0+0+0:tile\a" + end + begin menuitem + text "Blue Marble" + action string "\e]20;blue_marble.png;0x0+0+0:tile\a" + end + begin menuitem + text "Blue Maze" + action string "\e]20;blue_maze.png;0x0+0+0:tile\a" + end + begin menuitem + text "Blue Puzzle" + action string "\e]20;026.png;0x0+0+0:tile\a" + end + begin menuitem + text "Circuit" + action string "\e]20;circuit.png;0x0+0+0:tile\a" + end + begin menuitem + text "Cyber Playground" + action string "\e]20;cyber_bg.png;0x0+0+0:tile\a" + end + begin menuitem + text "Dark Marble" + action string "\e]20;dark_marble.png;0x0+0+0:tile\a" + end + begin menuitem + text "Dimples" + action string "\e]20;014.png;0x0+0+0:tile\a" + end + begin menuitem + text "Ether" + action string "\e]20;ether.png;0x0+0+0:tile\a" + end + begin menuitem + text "Giger 1" + action string "\e]20;giger1.png;0x0+0+0:tile\a" + end + begin menuitem + text "Giger 2" + action string "\e]20;giger2.png;0x0+0+0:tile\a" + end + begin menuitem + text "Gray Matter" + action string "\e]20;22.png;0x0+0+0:tile\a" + end + begin menuitem + text "Gray Waves" + action string "\e]20;gray_waves.png;0x0+0+0:tile\a" + end + begin menuitem + text "Jungle" + action string "\e]20;43.png;0x0+0+0:tile\a" + end + begin menuitem + text "Lava" + action string "\e]20;4.png;0x0+0+0:tile\a" + end + begin menuitem + text "Light B1" + action string "\e]20;lightb1.png;0x0+0+0:tile\a" + end + begin menuitem + text "Maple Leaves" + action string "\e]20;maple1.png;0x0+0+0:tile\a" + end + begin menuitem + text "Marble" + action string "\e]20;marbled.png;0x0+0+0:tile\a" + end + begin menuitem + text "Pebbles" + action string "\e]20;pebble1.png;0x0+0+0:tile\a" + end + begin menuitem + text "Purple Rain" + action string "\e]20;024.png;0x0+0+0:tile\a" + end + begin menuitem + text "Purple Clouds" + action string "\e]20;7.png;0x0+0+0:tile\a" + end + begin menuitem + text "Rainstorm" + action string "\e]20;15.png;0x0+0+0:tile\a" + end + begin menuitem + text "Red Whisper" + action string "\e]20;40.png;0x0+0+0:tile\a" + end + begin menuitem + text "Soft Marble" + action string "\e]20;soft.png;0x0+0+0:tile\a" + end + begin menuitem + text "Space 1" + action string "\e]20;space.png;0x0+0+0:tile\a" + end + begin menuitem + text "Space 2" + action string "\e]20;starry.png;0x0+0+0:tile\a" + end + begin menuitem + text "Whirlpool" + action string "\e]20;015.png;0x0+0+0:tile\a" + end +end +begin menu + title Scaled + begin menuitem + text "Alien Spheres" + action string "\e]20;alien_spheres.jpg;100x100+50+50\a" + end + begin menuitem + text "Atlantis" + action string "\e]20;atlantis.jpg;100x100+50+50\a" + end + begin menuitem + text "Before the Storm" + action string "\e]20;before_the_storm.jpg;100x100+50+50\a" + end + begin menuitem + text "Bladerunner" + action string "\e]20;Bladerunner-bg.png;100x100+50+50\a" + end + begin menuitem + text "Canyon" + action string "\e]20;Canyon.jpg;100x100+50+50\a" + end + begin menuitem + text "CaveFire" + action string "\e]20;Cavefire-bg.png;100x100+50+50\a" + end + begin menuitem + text "Crater Lake" + action string "\e]20;crater_lake.jpg;100x100+50+50\a" + end + begin menuitem + text "Daughter" + action string "\e]20;Daughter.jpg;100x100+50+50\a" + end + begin menuitem + text "Dragon" + action string "\e]20;Dragon.jpg;100x100+50+50\a" + end + begin menuitem + text "DVXVB" + action string "\e]20;dvxvb.jpg;100x100+50+50\a" + end + begin menuitem + text "Elysium" + action string "\e]20;elysium.jpg;100x100+50+50\a" + end + begin menuitem + text "Evocation" + action string "\e]20;Evocation.jpg;100x100+50+50\a" + end + begin menuitem + text "Hourglass" + action string "\e]20;hour.jpg;100x100+50+50\a" + end + begin menuitem + text "Ice Moon" + action string "\e]20;icemoon.jpg;100x100+50+50\a" + end + begin menuitem + text "Iron Temple" + action string "\e]20;iron_temple.jpg;100x100+50+50\a" + end + begin menuitem + text "Lake of Fire" + action string "\e]20;lake_of_fire.jpg;100x100+50+50\a" + end + begin menuitem + text "Lighthouse" + action string "\e]20;lighthouse.jpg;100x100+50+50\a" + end + begin menuitem + text "Monolith" + action string "\e]20;monolith.jpg;100x100+50+50\a" + end + begin menuitem + text "Nebula" + action string "\e]20;nebula.jpg;100x100+50+50\a" + end + begin menuitem + text "Neopolis" + action string "\e]20;neopolis.jpg;100x100+50+50\a" + end + begin menuitem + text "Neopolis Horizon" + action string "\e]20;Neopolis-horizon.png;100x100+50+50\a" + end + begin menuitem + text "Planet A" + action string "\e]20;planeta.png;100x100+50+50\a" + end + begin menuitem + text "Pond" + action string "\e]20;pond.png;100x100+50+50\a" + end + begin menuitem + text "Poseidon" + action string "\e]20;poseidon.png;100x100+50+50\a" + end + begin menuitem + text "Return to Giza" + action string "\e]20;return_to_giza.jpg;100x100+50+50\a" + end + begin menuitem + text "Ripple" + action string "\e]20;ripple.png;100x100+50+50\a" + end + begin menuitem + text "River of Lead" + action string "\e]20;river_of_lead.jpg;100x100+50+50\a" + end + begin menuitem + text "Silence" + action string "\e]20;silence.jpg;100x100+50+50\a" + end + begin menuitem + text "Sun" + action string "\e]20;sun.png;100x100+50+50\a" + end + begin menuitem + text "Tunnel" + action string "\e]20;tunnel.jpg;100x100+50+50\a" + end + begin menuitem + text "Wasteland" + action string "\e]20;wasteland.jpg;100x100+50+50\a" + end +end +begin menu + title Attrib + begin menuitem + text "Full Size" + action string "\e]20;;100x100" + end + begin menuitem + text "Normal Size" + action string "\e]20;;0x0" + end + - + begin menuitem + text "Tiled" + action string "\e]20;;:tile" + end + begin menuitem + text "Scaled" + action string "\e]20;;:scale" + end + begin menuitem + text "Proportional Scale" + action string "\e]20;;:propscale" + end + - + begin menuitem + text "Center" + action string "\e]20;;=+50+50" + end + begin menuitem + text "Top Left Corner" + action string "\e]20;;=+0+0" + end + begin menuitem + text "Bottom Right Corner" + action string "\e]20;;=+100+100" + end +end +begin menu + title Pixmap + begin menuitem + text "None" + action string "\e[m\e]20;;\a" + end + begin menuitem + text "Toggle Viewport Mode" + action string "\e]6;24\a" + end + begin menuitem + text "Tiled" + action submenu "Tiled" + end + begin menuitem + text "Scaled" + action submenu "Scaled" + end + - + begin menuitem + text "Attrib" + action submenu "Attrib" + end +end +begin menu + title Brightness + begin menuitem + text "512 (200%)" + action string "\e]6;1;image;brightness;512\a" + end + begin menuitem + text "480 (188%)" + action string "\e]6;1;image;brightness;480\a" + end + begin menuitem + text "448 (175%)" + action string "\e]6;1;image;brightness;448\a" + end + begin menuitem + text "416 (163%)" + action string "\e]6;1;image;brightness;416\a" + end + begin menuitem + text "384 (150%)" + action string "\e]6;1;image;brightness;384\a" + end + begin menuitem + text "352 (138%)" + action string "\e]6;1;image;brightness;352\a" + end + begin menuitem + text "320 (125%)" + action string "\e]6;1;image;brightness;320\a" + end + begin menuitem + text "288 (113%)" + action string "\e]6;1;image;brightness;288\a" + end + begin menuitem + text "256 (100%)" + action string "\e]6;1;image;brightness;256\a" + end + begin menuitem + text "224 (88%)" + action string "\e]6;1;image;brightness;224\a" + end + begin menuitem + text "192 (75%)" + action string "\e]6;1;image;brightness;192\a" + end + begin menuitem + text "160 (63%)" + action string "\e]6;1;image;brightness;160\a" + end + begin menuitem + text "128 (50%)" + action string "\e]6;1;image;brightness;128\a" + end + begin menuitem + text "96 (38%)" + action string "\e]6;1;image;brightness;96\a" + end + begin menuitem + text "64 (25%)" + action string "\e]6;1;image;brightness;64\a" + end + begin menuitem + text "32 (13%)" + action string "\e]6;1;image;brightness;32\a" + end + begin menuitem + text "0 (0%)" + action string "\e]6;1;image;brightness;0\a" + end +end +begin menu + title Contrast + begin menuitem + text "512 (200%)" + action string "\e]6;1;image;contrast;512\a" + end + begin menuitem + text "480 (188%)" + action string "\e]6;1;image;contrast;480\a" + end + begin menuitem + text "448 (175%)" + action string "\e]6;1;image;contrast;448\a" + end + begin menuitem + text "416 (163%)" + action string "\e]6;1;image;contrast;416\a" + end + begin menuitem + text "384 (150%)" + action string "\e]6;1;image;contrast;384\a" + end + begin menuitem + text "352 (138%)" + action string "\e]6;1;image;contrast;352\a" + end + begin menuitem + text "320 (125%)" + action string "\e]6;1;image;contrast;320\a" + end + begin menuitem + text "288 (113%)" + action string "\e]6;1;image;contrast;288\a" + end + begin menuitem + text "256 (100%)" + action string "\e]6;1;image;contrast;256\a" + end + begin menuitem + text "224 (88%)" + action string "\e]6;1;image;contrast;224\a" + end + begin menuitem + text "192 (75%)" + action string "\e]6;1;image;contrast;192\a" + end + begin menuitem + text "160 (63%)" + action string "\e]6;1;image;contrast;160\a" + end + begin menuitem + text "128 (50%)" + action string "\e]6;1;image;contrast;128\a" + end + begin menuitem + text "96 (38%)" + action string "\e]6;1;image;contrast;96\a" + end + begin menuitem + text "64 (25%)" + action string "\e]6;1;image;contrast;64\a" + end + begin menuitem + text "32 (13%)" + action string "\e]6;1;image;contrast;32\a" + end + begin menuitem + text "0 (0%)" + action string "\e]6;1;image;contrast;0\a" + end +end +begin menu + title Gamma + begin menuitem + text "512 (200%)" + action string "\e]6;1;image;gamma;512\a" + end + begin menuitem + text "480 (188%)" + action string "\e]6;1;image;gamma;480\a" + end + begin menuitem + text "448 (175%)" + action string "\e]6;1;image;gamma;448\a" + end + begin menuitem + text "416 (163%)" + action string "\e]6;1;image;gamma;416\a" + end + begin menuitem + text "384 (150%)" + action string "\e]6;1;image;gamma;384\a" + end + begin menuitem + text "352 (138%)" + action string "\e]6;1;image;gamma;352\a" + end + begin menuitem + text "320 (125%)" + action string "\e]6;1;image;gamma;320\a" + end + begin menuitem + text "288 (113%)" + action string "\e]6;1;image;gamma;288\a" + end + begin menuitem + text "256 (100%)" + action string "\e]6;1;image;gamma;256\a" + end + begin menuitem + text "224 (88%)" + action string "\e]6;1;image;gamma;224\a" + end + begin menuitem + text "192 (75%)" + action string "\e]6;1;image;gamma;192\a" + end + begin menuitem + text "160 (63%)" + action string "\e]6;1;image;gamma;160\a" + end + begin menuitem + text "128 (50%)" + action string "\e]6;1;image;gamma;128\a" + end + begin menuitem + text "96 (38%)" + action string "\e]6;1;image;gamma;96\a" + end + begin menuitem + text "64 (25%)" + action string "\e]6;1;image;gamma;64\a" + end + begin menuitem + text "32 (13%)" + action string "\e]6;1;image;gamma;32\a" + end + begin menuitem + text "0 (0%)" + action string "\e]6;1;image;gamma;0\a" + end +end +begin menu + title Background + begin menuitem + text "Transparency" + action submenu "Transparency" + end + begin menuitem + text "Pixmap" + action submenu "Pixmap" + end + begin menuitem + text "Brightness" + action submenu "Brightness" + end + begin menuitem + text "Contrast" + action submenu "Contrast" + end + begin menuitem + text "Gamma" + action submenu "Gamma" + end +end + +# This is the menu that gets called by Ctrl-Button3 +begin menu + title Eterm + begin menuitem + text "Font" + action submenu Font + end + begin menuitem + text "Background" + action submenu Background + end + begin menuitem + text "Terminal" + action submenu Terminal + end + - + begin menuitem + text "Version" + action string "\e[8n" + end + begin menuitem + text "Status" + action string "\e[9n" + end + separator + begin menuitem + text "Save Settings..." + action string "\e]6;71\a" + end + begin menuitem + text "Exit" + action string "\e]6;70\a" + end +end + diff --git a/themes/auto/theme.cfg.in b/themes/auto/theme.cfg.in new file mode 100644 index 0000000..26fb6fc --- /dev/null +++ b/themes/auto/theme.cfg.in @@ -0,0 +1,346 @@ + +# ^- 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 + unfocusedscrollbar #777777 + menu #777777 + unfocusedmenu #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() + name %appname() +# iconname Eterm + +# 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 0 fixed + font 1 5x7 + font 2 6x10 + font 3 8x13 + font 4 9x15 +# 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 + +# 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`) + +# 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 auto allow image trans viewport auto + +# 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 + +# The rest of the images. + begin image + type trough + mode auto allow image trans viewport auto + state normal + file bar_vertical_3.png +# Here is how you specify the geometry string separately. See the man page for its syntax. + geom :scale + border 3 3 2 2 + end image + begin image + type anchor + mode auto allow image auto + state normal + file bar_vertical_1.png + geom :scale + border 3 3 2 2 + state selected + file bar_vertical_2.png + geom :scale + border 3 3 2 2 + end image + begin image + type up_arrow + mode auto allow image auto + state normal + file button_arrow_up_1.png + geom :scale + border 2 2 2 2 + state selected + file button_arrow_up_2.png + geom :scale + border 2 2 2 2 + state clicked + file button_arrow_up_3.png + geom :scale + border 2 2 2 2 + end image + begin image + type down_arrow + mode auto allow image auto + state normal + file button_arrow_down_1.png + geom :scale + border 2 2 2 2 + state selected + file button_arrow_down_2.png + geom :scale + border 2 2 2 2 + state clicked + file button_arrow_down_3.png + geom :scale + border 2 2 2 2 + end image + begin image + type menu + mode auto 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 auto 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 "Eterm-menu.cfg" + +# This section *must* come after the menu definitions if you want +# menu actions to work. C'est la vie. :-) +# +# Syntax: bind [ { | anymod } ] { | |