home *** CD-ROM | disk | FTP | other *** search
/ Dream 50 / Amiga_Dream_50.iso / Linux / AfterStep / desktops / antonyn@ucla.edu / yoshi-steprc.5-31-97 < prev    next >
Encoding:
Text File  |  1997-06-02  |  22.7 KB  |  658 lines

  1. # 10/25/96 sample.steprc v1.8 fsf frank@ssax.com
  2.              ############################################
  3.              # The AfterStep v1.0 Default Configuration #
  4.              ############################################
  5.     ##############################################################
  6.     # Official Web Sites:                                        # 
  7.     #             http://oxford.edoc.com/afterstep               #
  8.     #             http://mango.sfasu.edu/~frank/afterstep        #
  9.     # Official FTP Site:                                         # 
  10.     #             ftp://oak.sfasu.edu/~frank/afterstep           #
  11.     # European Mirror Sites:                                     #
  12.     #             ftp://ftp.asta.uni-essen.de/pub/Afterstep      #
  13.     #             ftp://garfield.sch.bme.hu/pub/Linux/AfterStep  #
  14.     # Additional Web Sites:                                      #
  15.     #             http://apollo.gmi.edu/~kram1968/afterstep      #
  16.     #             http://www.iis.ee.ethz.ch/~kiwi/AfterStep      #
  17.     ##############################################################
  18.  
  19. #///////////////////////////////////#
  20. # Distinctive Look and Feel Section #
  21. #///////////////////////////////////#
  22. # Foreground color for unfocused windows and default border color
  23. StdForeColor         black
  24. # Background color for unfocused windows and handle color
  25. StdBackColor         #bfbfbf
  26. # Text color for focused windows, menu highlights, and MenuTitle text
  27. HiForeColor         White
  28. # Background Color of focused window and MenuTitle border
  29. #HiBackColor         #000001
  30. HiBackColor         #000044
  31. # Menu Border Color
  32. MenuBackColor        purple4
  33. # Menu Text Color
  34. MenuForeColor        white    
  35.  
  36. # Set Gradient Texture Mapping
  37. # Define the texture type for the TitleBars, unfocused TitleBars,
  38. # Menu TitleBars, Menu Items, etc.
  39. #   0 - No texture
  40. #   1 - Wharf-style gradient
  41. #   2 - Horizontal one way gradient
  42. #   3 - Horizontal from top/bottom to center
  43. #   4 - Vertical one way gradient from left to right
  44. #   5 - Vertical from left/right to center
  45. # 128 - User specified pixmap
  46. TextureTypes 1 1 1 1 1 0
  47.  
  48. # Set the number of colors to use on textures.
  49. # Default is 10 on 8bpp screens and 128 on +16bpp.
  50. TextureMaxColors 128 128 128 128
  51.  
  52. # Texture Colors, given in Standard RGB X numbering
  53. # Window TitleBar textures
  54. TitleTextureColor    black purple4
  55. # Unfocused TitleBar textures
  56. UTitleTextureColor    #a0a2a1    #606261
  57. # Menu TitleBar textures
  58. MTitleTextureColor    black purple4
  59. # Menu Item textures
  60. MenuTextureColor    navyblue blue    
  61.  
  62. # Don't change the titlebar's highlight's upon mouse click
  63. TitlebarNoPush
  64. # Gives titles to icons
  65. IconTitle
  66.  
  67. # Menu Font
  68. Font                    -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*
  69. # Window TitleBar Font
  70. WindowFont              -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
  71. # Icon Font
  72. IconFont                -adobe-helvetica-medium-r-*-*-8-*-*-*-*-*-*-*
  73. # Area where icons should show up (RightX, RightY, LeftX, LeftY)
  74. IconBox 0 -64 -1 -1 
  75.  
  76. #//////////////////#
  77. # Window Placement #
  78. #//////////////////#
  79. # RandomPlacement prevents user interaction while placing windows:
  80. # RandomPlacement
  81.  
  82. # SmartPlacement makes new windows pop-up in blank regions of screen 
  83. # if possible, otherwise falls back to random or interactive placement
  84. #SmartPlacement
  85.  
  86. # Percentage of a page (horizontal, vertical) to scroll when the 
  87. # cursor reaches the edge of a page ... 0 0 turns off scrolling
  88. EdgeScroll 100 100
  89.  
  90. # Amount of Resistance for moving from desk to desk with the
  91. # mouse ... 0 0 allows for only window moves and resizes to
  92. # reach into the next desk
  93. EdgeResistance 450 0
  94.  
  95. # Raise the Window when it is clicked on
  96. #ClickToFocus
  97.  
  98. #ClickToRaise - click on window to raise it.
  99. ClickToRaise 1,2,3
  100.  
  101. # Raise the Window when the mouse travels into it and keep focus
  102. # until the mouse enters a new window
  103. #SloppyFocus
  104.  
  105. # Miscellaneous voodoo commands - they may help you, they may not
  106. AppsBackingStore
  107. BackingStore
  108. SaveUnders
  109.  
  110. # This style of window movement draws the entire window as it
  111. # moves, instead of the "rubber-band" outlines
  112. # It has a number (N) attached to it (default 5).  If the 
  113. # window occupies less than N% of the screen, OpaqueMove is 
  114. # used. 0 <= N <= 100 
  115. OpaqueMove 90
  116.  
  117. # NoPPosition instructs fvwm to ignore the PPosition field in window 
  118. # geometry hints.
  119. # Emacs annoyingly sets PPosition to (0,0)!
  120. NoPPosition
  121.  
  122. #////////////////////////#
  123. # Miscellaneous Settings #
  124. #////////////////////////#
  125. # Set windows to auto-raise after 325 milliseconds if you like it.
  126. # Use with SloppyFocus or focus-follows-mouse mode
  127. #Module Auto 325
  128.  
  129. # If you don't like the default 150 msec click delay for the complex functions
  130. # change this.
  131. ClickTime 150
  132.  
  133. # Don't change to an icon when using Alt-Tab to page through open windows
  134. CirculateSkipIcons
  135.  
  136. # StubbornIcons makes icons de-iconify into their original position on the
  137. # desktop, instead of on the current page.
  138. #StubbornIcons
  139.  
  140. # Place a TitleBar and Handles on popup windows and dialog boxes
  141. DecorateTransients
  142.  
  143. # With AutoPlacement, icons will normally place themselves underneath active
  144. # windows. This option changes that.
  145. #StubbornIconPlacement
  146.  
  147. # If you want ALL you icons to follow you around the desktop (Sticky), try
  148. # this
  149. StickyIcons
  150.  
  151. #///////////////////////////#
  152. # Pager and Virtual Desktop #
  153. #///////////////////////////#
  154. # Set up the virtual desktop and pager
  155. # Set the desk top size in units of physical screen size
  156. DeskTopSize 3x3
  157. # Sets the reduction scale used for the Pager
  158. DeskTopScale 32
  159.  
  160. #//////////////#
  161. # Common Paths #
  162. #//////////////#
  163. # ModulePath is a colon-separated list, just like a regular unix PATH
  164. # Any Module must be found within the path in order to be located
  165. # and executed
  166. ModulePath          /usr/lib/X11/afterstep:/usr/X11R6/lib/X11/afterstep
  167. # Another colon-separated list pointing to your pixmaps (color icons)
  168. #PixmapPath          /usr/include/X11/pixmaps/:/home/antonyn/.bg
  169. PixmapPath        /home/antonyn/.icons:/home/antonyn/.bg
  170.  
  171. # Path for your ugly black&white icons
  172. IconPath           /home/antonyn/.icons 
  173.  
  174. # Various styles which can be associated with specific applications
  175. # Sticky -- remains "stuck" on all desks
  176. # NoTitle -- window has NoTitle
  177. # StaysOnTop -- a regular window will not obscure this window
  178. # WindowListSkip -- this window will not show up in the
  179. #   window listing which can be used with a MiddleClick in 
  180. #   the root window (main background)
  181. # NoHandles -- No bottom bar
  182. Style "oclock" Sticky, NoTitle, StaysOnTop, WindowListSkip
  183. Style "*Pager" NoTitle, Sticky, StaysOnTop, WindowListSkip, NoHandles
  184. Style "xbiff" NoTitle, WindowListSkip
  185. Style "Minitabx11" StaysOnTop
  186. Style "Wharf" NoFocus,NoTitle, Sticky, WindowListSkip,StaysOnTop, NoHandles
  187. Style "Banner"    NoTitle, NoHandles, WindowListSkip, Sticky, StaysOnTop
  188. Style "xsysinfo" NoTitle, NoHandles, Sticky, WindowListSkip, NoFocus
  189. Style "xosview" NoTitle, NoHandles, Sticky, WindowListSkip, NoFocus
  190.  
  191.  
  192. TitleTextAlign 1
  193. TitleTextMode 1 1 #7f9d9d #483746 #ffffff #967e8e #562e4e #aaaaaa
  194.  
  195. #TitleButton 4 
  196. #TitleButton 2 
  197.  
  198.  
  199.  
  200. #/////////////////////#
  201. # Wharf Customization #
  202. #/////////////////////#
  203. # Customize your Wharf -- the pushable, pullable button bar on the right 
  204. # hand of your display
  205. Module Wharf 
  206.  
  207. *WharfTextureType    128
  208. *WharfTextureColor     #575557 #aca8ac
  209. *WharfMaxColors        
  210. *WharfPixmap        /home/antonyn/.bg/w_dc002a.xpm
  211.  
  212.  
  213. # Animate Wharf's folders
  214. *WharfAnimate
  215. # Animate Wharf's compression into one icon
  216. *WharfAnimateMain
  217. # Start on the right top side of the screen
  218. *WharfGeometry -0+0
  219. # One vertical column
  220. *WharfColumns 1 
  221.  
  222. *Wharf AfterStep YingYang.xpm Folder
  223. *Wharf Shutdown  shutdown.xpm  Quit
  224. *Wharf xlock KeysOnChain.xpm Exec "-" xlock -modelist "braid flame grav pyro qix rock spiral spline swarm worm" -mode random -duration 0 -allowroot -usefirst &
  225. *Wharf recycle ModernTrashRecycleEmpty.xpm Restart " " afterstep
  226. *Wharf ~Folder
  227.  
  228. *Wharf xbiff   nil   Swallow "xbiff" xbiff -bg "#8e8a9e" -fg "#00003f" -geometry 45x45-1-1 &
  229.  
  230. *Wharf Textstuff ArtFolderFull.xpm Folder
  231. *Wharf vi text.xpm Exec "-" rxvt -sl 256 -sb -ls -T 'vi@yoshi' -fn 7x14bold -bg black -fg white -pixmap /home/antonyn/.bg/boadark.xpm -e vi &
  232. *Wharf nedit Pen.xpm Exec "-" nedit &
  233. *Wharf ghostview FileEPS.xpm Exec "-" ghostview &
  234. *Wharf applix applix.xpm Exec "-" applix &   
  235. *Wharf ~Folder
  236.  
  237. *Wharf xload nil Swallow "xload" xload -nolabel -hl black -bg "#8e8a9e" -geometry 48x48-1-1 &
  238.  
  239. #*Wharf xterm monitor.xpm   Exec "-" xterm -geometry 80x25 -sl 256 -sb -ls -T 'xterm@afterstep.org' &
  240.  
  241. *Wharf Music DiskCD.xpm Folder
  242. *Wharf tk3play tk3play.xpm Exec "-" tk3play &
  243. *Wharf xmcd CDPlayer.xpm Exec "-" xmcd &
  244. *Wharf xmix OldFashionedRadio.xpm Exec "-" xmix &
  245. *Wharf ~Folder 
  246.  
  247. *Wharf Graphics Image.xpm Folder
  248. *Wharf xv xv.xpm Exec "-" xv &
  249. *Wharf gimp 3dpaint.xpm Exec "-" gimp &
  250. *Wharf ~Folder
  251.  
  252. *Wharf rxvt NeXTterm4.xpm Exec "-" rxvt -sl 256 -sb -ls -T 'ant@yoshi' -fn 7x14bold -bg black -fg white -pixmap /home/antonyn/.bg/boadark.xpm &
  253.  
  254. *Wharf Netscape NetscapeLogo.xpm Exec "-" /programs/netscape/communicator/netscape -geometry =766x879 & 
  255.  
  256. *Wharf Utils HammerPageSquareWithScrews.xpm Folder
  257. *Wharf xcalc xcalc.xpm Exec "-" xcalc &
  258. *Wharf xfm FileManager.xpm Exec "-" xfm &
  259. *Wharf controlpanel BWDialogEdit.xpm Exec "-" control-panel &
  260. *Wharf ~Folder     
  261.  
  262. *Wharf asclock nil MaxSwallow "asclock" asclock -12 -shape -position -1-1 &
  263.  
  264. *Wharf pager nil SwallowModule "Pager" Pager 0 0
  265.  
  266. #*Wharf asclock nil MaxSwallow "asclock" asclock -12 -shape -position -1-1 &
  267.  
  268. #////////////////#
  269. # Icon Selection #
  270. #////////////////#
  271. # Select some common icon bitmaps for applications named in
  272. # column number two ... each icon file must be located in 
  273. # your PixmapPath (color) or IconPath (b/w) as defined above 
  274.  
  275. Icon "xterm"        monitor.xpm
  276. Icon "*emacs*"      text.xpm
  277. Icon "pine"         writeletter.xpm
  278. Icon "ghostview"    FileEPS.xpm
  279. Icon "xman"        xman.xpm
  280. Icon "gimp"        3dpaint.xpm
  281. Icon "xli"        monalisa.xpm
  282. Icon "xv"        XVWrittenText.xpm
  283. Icon "xfm"       FileManager.xpm
  284. Icon "*lyx*"        text.xpm
  285. Icon "LyX"          text.xpm
  286. Icon "Untitled*"    YellowBlueRedGeometry.xpm
  287. Icon "xmcd"        CDPlayer.xpm
  288. Icon "xmix"        OldFashionedRadio.xpm
  289. Icon "vi"        text.xpm
  290. Icon "control-panel"  BWDialogEdit.xpm
  291. Icon "xcalc"        OldBlueAddingMachine.xpm
  292. Icon "nedit"        Pen.xpm    
  293. Icon "rxvt"        NeXTterm4.xpm
  294. Icon "tk3play"        tk3play.xpm
  295.  
  296. #/////////////////////////#
  297. # Initialization Function #
  298. #/////////////////////////#
  299. # Here we will put programs and modules that we wish to
  300. # load up automatically upon startup
  301. Function "InitFunction"
  302.         # Wait until Wharf is done loading so that our xterm will have 
  303.         # the focus when it is first created
  304.     Wait    "I"    Wharf
  305.     #Exec    "I"    exec xterm -geometry +4+4 -sl 256 -sb -ls -T 'xterm@afterstep.org' &
  306.     Exec    "I"     exec Exec "-" rxvt -sl 256 -sb -ls -T 'rxvt@yoshi' -fn 7x14bold -bg black -fg white -pixmap /home/antonyn/.bg/boadark.xpm &
  307.         # Place the green carpet image onto the background upon startup
  308.         # I personally recommend xli/xloadimage, but xv seems to be
  309.         # ubiquitous in the unix world so I'll use that 
  310.     Exec    "I"    exec xv -root -quit /home/antonyn/.bg/evabg.jpg
  311.     #Exec    "I"    exec xsetroot -solid DarkGrey
  312.     Exec    "I"     exec xsysinfo -geometry +1068+888 &
  313.     #Exec     "I"    exec xosview -geometry +1078+837 &
  314. EndFunction
  315.  
  316. # These will load up upon every subsequent Restart
  317. #Function "RestartFunction"
  318. #        Module  "I"     FvwmPager 0 0
  319. #EndFunction
  320.  
  321. #///////////#
  322. # Functions #
  323. #///////////#
  324. # Now define some handy complex functions
  325. # Each function can be bound to a specific Mouse Button and
  326. # a specific window location (Title, TitleButton, Root Window, 
  327. # etc.) later on
  328.  
  329. # This one will Raise the window on a Single Click, Shade 
  330. # (display only the TitleBar) on a DoubleClick, and make 
  331. # the window uncoverable by all other non-OnTop windows 
  332. # with a TripleClick.  A Click+Motion will move the
  333. # window around
  334. Function "Shade-or-Raise"
  335.     Move        "Motion"
  336.     Raise        "Click"
  337.     Shade        "DoubleClick"
  338.     PutOnTop    "TripleClick"
  339. EndFunction
  340.  
  341. # This will move the window on mouse motion, maximize the
  342. # window (while leaving space for Wharf on the right) with a 
  343. # single MouseClick, roll up the window for a Shade with a 
  344. # DoubleClick, and put the window on top of all other windows
  345. # with a TripleClick (no regular window can be placed on top
  346. # of this window until the ontop window has been taken 
  347. # another PutOnTop TripleClick
  348. Function "Maximize_Function"
  349.     Move        "Motion"
  350.     Maximize    "Click" 94 100
  351.     Shade        "DoubleClick"
  352.      PutOnTop    "TripleClick"
  353. EndFunction
  354.  
  355. # This one moves or (de)iconifies:
  356. # Icons will restore to full size with a single mouse click
  357. # Change "Click" to "DoubleClick" or "TripleClick" as desired
  358. Function "Move-or-Iconify"
  359.     Move         "Motion"
  360.     Iconify        "Click"
  361. EndFunction
  362.  
  363. # Pretty Simple...Mouse Motion Raises and Resizes the given
  364. # window.   A mouse click will also Raise it.  DoubleClick
  365. # will perform a Shade while TripleClick grants unobscurable
  366. # status
  367. Function "Resize-or-Raise"
  368.     Resize         "Motion"
  369.     Raise        "Motion"
  370.     Raise        "Click"
  371.     Shade        "DoubleClick"
  372.     PutOnTop    "TripleClick"
  373. EndFunction
  374.  
  375. # This is provided as a hint only.
  376. # Move to a known page on the desktop, then start an application in a
  377. # known location. Could also switch to a known desktop, I guess
  378. #Function "abs_coord"
  379. #       GoToPage "Immediate"    1,1
  380. #       Exec    "Immediate"     exec xcalc -geometry +100+100&
  381. #EndFunction
  382.  
  383. #///////#
  384. # Menus #
  385. #///////#
  386. # Now define the menus - defer bindings until later
  387.  
  388. # Here are some common applications...we will add this and the 
  389. # following menus to our main HotList menu
  390. Popup "Applications"
  391.         Title "Applications"
  392.  
  393.  
  394.     Exec   "IRC"        exec rxvt -sl 256 -sb -ls -T 'ant@yoshi' -fn 8x13bold -bg black -fg white -pixmap /home/antonyn/.bg/boadark.xpm -e irc Ant irc.nwlink.com 6666 &
  395.         Exec   "xv"             exec xv &
  396.         Exec   "vi"             exec xterm -T vi -e vi &
  397.         Exec   "Ghostview"      exec ghostview &
  398.         Exec   "The Gimp"       exec gimp &
  399.         Exec   "GNU Emacs"      exec emacs &
  400.         Exec   "Bitmap"         exec bitmap &
  401.         Exec   "Xxgdb"          exec xxgdb &
  402.         Exec   "Calculator"     exec xcalc &
  403. EndPopup
  404.  
  405. # Some diversionary tactics...xsnow is a personal favorite of mine
  406. Popup "Games"
  407.         Title "Games"
  408.         Exec    "Xsnow"         exec xsnow &
  409.         Exec    "Xboard"        exec xboard &
  410.         Exec    "XTetris"       exec xtetris &
  411.         Exec    "Xvier"         exec xvier &
  412. EndPopup
  413.  
  414. # Various ScreenSavers that lock the display
  415. Popup "Xlock"
  416.     Title    "Xlock"
  417.     Exec    "Braid"        exec xlock -allowroot -usefirst -mode braid &
  418.     Exec    "Flame"        exec xlock -allowroot -usefirst -mode flame &
  419.     Exec    "Grav"        exec xlock -allowroot -usefirst -mode grav &
  420.     Exec    "Pyro"        exec xlock -allowroot -usefirst -mode pyro &
  421.     Exec    "Qix"        exec xlock -allowroot -usefirst -mode qix &
  422.     Exec    "Rock"        exec xlock -allowroot -usefirst -mode rock &
  423.     Exec    "Slip"        exec xlock -allowroot -usefirst -mode spiral &
  424.     Exec    "Spline"    exec xlock -allowroot -usefirst -mode spline &
  425.     Exec    "Swarm"        exec xlock -allowroot -usefirst -mode swarm &
  426.     Exec    "Worm"        exec xlock -allowroot -usefirst -mode worm &
  427. EndPopup
  428.  
  429. # Some administrative tasks...note that Config opens up an
  430. # xterm and automatically edits this file
  431. Popup "Utilities"
  432.     Title  "Utilities"
  433.         Exec    "Config"        exec xterm -T "AfterStep Configuration" -e vi ~/.steprc &
  434.         Exec    "Top"           exec rxvt -T Top -n Top -e top &
  435.     Popup    "Xlock"        Xlock
  436. EndPopup
  437.  
  438. # This menu allows you to quit, although why you would want
  439. # to do such a thing is beyond me
  440. Popup "Quit-Verify"
  441.     Title    "Quit?"
  442.     Quit    "Yes, Quit"
  443.     Restart "Restart"    afterstep
  444.     Nop    "No, Don't"
  445. EndPopup
  446.  
  447. # Modules ... technically, asclock is a fully functioning
  448. # program, but I like to think of it as a nice module 
  449. Popup "Module-Popup"
  450.     Title    "Modules"
  451.     Exec    "asclock"    exec asclock -12 -shape &
  452.     Module    "Banner"    Banner
  453.         Module    "Wharf"        Wharf
  454. EndPopup
  455.  
  456. # Animations ... screen savers run as the default background
  457. Popup "Animations"
  458.     Title    "Animations"
  459.     Exec    "Braid"        exec xlock -inroot -mode braid &
  460.     Exec    "Flame"        exec xlock -inroot -mode flame &
  461.     Exec    "Grav"        exec xlock -inroot -mode grav &
  462.     Exec    "Pyro"        exec xlock -inroot -mode pyro &
  463.     Exec    "Qix"        exec xlock -inroot -mode qix &
  464.     Exec    "Rock"        exec xlock -inroot -mode rock &
  465.     Exec    "Slip"        exec xlock -inroot -mode spiral &
  466.     Exec    "Spline"    exec xlock -inroot -mode spline &
  467.     Exec    "Swarm"        exec xlock -inroot -mode swarm &
  468.     Exec    "Worm"        exec xlock -inroot -mode worm &
  469.   # Stop the animation in the background
  470.     Exec    "Stop It"    exec kill -9 $(ps aux | grep xlock | grep -v grep | awk '{print $2}')
  471. EndPopup
  472.  
  473. # Colors ... quick way to chage desktop coloring
  474. Popup "Colors"
  475.     Title    "Colors"
  476.     Exec    "Black"        exec xsetroot -solid Black
  477.     Exec    "Red"        exec xsetroot -solid Red
  478.     Exec    "Yellow"    exec xsetroot -solid Yellow
  479.     Exec    "Green"        exec xsetroot -solid Green
  480.     Exec    "Cyan"        exec xsetroot -solid Cyan
  481.     Exec    "Blue"        exec xsetroot -solid Blue
  482.     Exec    "Magenta"    exec xsetroot -solid Magenta
  483.     Exec    "White"        exec xsetroot -solid White
  484. EndPopup
  485.  
  486. # Images ... quick way to view the included default background images
  487. Popup "Images"
  488.     Title    "Images"
  489.     Exec    "Brick"        exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/brick.jpg
  490.     Exec    "Coins"        exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/coins.jpg
  491.     Exec    "Dark Wood"    exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/darkwood.jpg
  492.     Exec    "Eyes"        exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/eyes.jpg
  493.     Exec    "Glass"        exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/glass.jpg
  494.     Exec    "Green Carpet"    exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/carpet.green.jpg
  495.     Exec    "Parquet"    exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/parquet.jpg
  496.     Exec    "Pebbles"    exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/pebbles.jpg
  497.     Exec    "Rock"        exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/rock.tile.jpg
  498.     Exec    "Rope"        exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/rope.weave.jpg
  499.     Exec    "Stucco"    exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/stucco.jpg
  500.     Exec    "Tile"        exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/tile.check.jpg
  501.     Exec    "Tree Bark"    exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/bark.jpg
  502.     Exec    "Volcanic"    exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/volcanic.jpg
  503.     Exec    "Wood"        exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/wood.jpg
  504. EndPopup
  505.  
  506. # Background settings ... choose from either Solid Colors or Color Images
  507. Popup "Backgrounds"
  508.     Title    "Backgrounds"
  509.     Popup    "Animations"    Animations
  510.     Popup     "Colors"    Colors
  511.     Popup    "Images"    Images
  512. EndPopup
  513.  
  514. # Here is our main Menu that will be seen upon left MouseClick
  515. # in the root window (background area) ... note that we have added
  516. # our above Menus to this one ... also note that menus must be
  517. # defined first before they can be placed in a different menu
  518. Popup "HotList"
  519.     Title     "HotList"
  520.         Exec    "Xterm"         exec xterm -ls -sl 256 -sb -T 'xterm@afterstep.org' &
  521.         Exec    "Netscape"  exec netscape -geometry =766x879 &
  522.         Popup   "Applications"  Applications
  523.     Popup    "Utilities"    Utilities
  524.         Popup   "Games"         Games
  525.     Popup    "Backgrounds"    Backgrounds
  526.         Popup   "Modules"       Module-Popup
  527.         Popup   "Exit"         Quit-Verify
  528. EndPopup
  529.  
  530. # This defines the most common window operations
  531. Popup "Window Ops"
  532.         Title           "Window Ops"
  533.         Function        "Move"          Shade-or-Raise
  534.         Function        "Resize"        Resize-or-Raise
  535.         Raise           "Raise"
  536.         Lower           "Lower"
  537.     PutOnTop    "(Un)PutOnTop"
  538.         Iconify         "(De)Iconify"
  539.         Stick           "(Un)Stick"
  540.         Function        "(Un)Maximize"  Maximize_Function
  541.         Destroy         "Destroy"
  542.         Close           "Close"
  543.         Refresh         "Refresh Screen"
  544. EndPopup
  545.  
  546.  
  547. #////////////////#
  548. # Mouse Bindings #
  549. #////////////////#
  550. # First, for the mouse in the root window
  551. # Button 1 gives the HotList menu
  552. # Button 2 gives the WindowList menu (Listing of current windows)
  553. # Button 3 gives the WindowOps
  554.  
  555. # There are 4 colums to the table
  556. # First column is the event (Mouse Click or Key Press)
  557. #   Mouse 0 specify any click in a TitleBar box
  558. #     Where can be 1 or 2 for first or second box
  559. #   Mouse 1 is left button, 2 is middle, 3 is right
  560. # Second Column is where the click takes place
  561. #   R = Root window (main background)
  562. #   F = Window Frame (the corners)
  563. #   S = Bottom bar
  564. #   I = Icon Window
  565. #   T = TitleBar
  566. #   W = Application Window
  567. # Third Column is the Context (ie, modifier keys)
  568. #   N = No modifiers
  569. #   A = Any context except for inside the TitleBar Boxes
  570. #   C = Control
  571. #   S = Shift
  572. #   M = Meta
  573. #   Combos are allowed (eg, CS = Control+Shift)
  574. # Fourth Column is the action to take upon click
  575. #   Action can be a function, popup, or regular action
  576. # Key #  # Where #  # Context#       # Action #
  577. Mouse 0         1       A       Iconify
  578. Mouse 0         2       A       Close
  579. Mouse 1        R       A       PopUp "HotList"
  580. Mouse 1        FS    A    Function "Resize-or-Raise"
  581. Mouse 1        I    A    Function "Move-or-Iconify"
  582. Mouse 1        T    A    Function "Shade-or-Raise"
  583. Mouse 2         R       A       WindowList
  584. Mouse 2        FST    A    PopUp "Window Ops"
  585. Mouse 3        TSIF    A    Function "Maximize_Function"
  586. Mouse 3         R       A       PopUp "Window Ops"
  587. Mouse 3         W       M       RaiseLower
  588.  
  589. #////////////////////#
  590. # Keyboard Shortcuts #
  591. #////////////////////#
  592.  
  593. Key F1        A    M    Popup "HotList"
  594. Key F2        A    M    Popup "Window Ops"
  595. Key F3        A    M    WindowList
  596. # Alt-F4 will take a screenshot and save it in
  597. # the user's home directory as screen.xwd
  598. # Programs such as ImageMagick can then be used
  599. # to convert the xwd file into jpg or gif format
  600. Key F4        A    M    Exec "xwd" xwd -root -out ~/screen.xwd &
  601. Key F5             A    A       Iconify
  602. # Alt(Meta)-Tab pages through open, bordered windows
  603. Key Tab        A    M    CirculateUp
  604.  
  605. # Arrow Keys
  606. # Control+Arrow scrolls to the next page on the desk
  607. Key Left        A       C       Scroll -100 0
  608. Key Right       A       C       Scroll +100 +0
  609. Key Up          A       C       Scroll +0   -100
  610. Key Down        A       C       Scroll +0   +100
  611.  
  612. #////////////////////#
  613. # Module Definitions #
  614. #////////////////////#
  615. # Pager Configuration -- We have Swallow-ed Pager into the Wharf
  616. # Now let's change colors and make labels
  617. *PagerBack #908090
  618. *PagerFore #484048
  619. *PagerFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
  620. *PagerHilight #cab3ca
  621. *PagerGeometry -1-1
  622. *PagerLabel 0 Pager
  623. *PagerSmallFont 5x8
  624.  
  625. # Start the Audio player  
  626. Module Audio    
  627.  
  628. # Select your normal audio player
  629. #*AudioPlayCmd /usr/bin/showaudio
  630.  
  631. # Select the directory containing your sounds
  632. #*AudioDir /home/frank/mac/sounds
  633.  
  634. #*AudioDelay 1
  635.  
  636. # Attach sounds to window manager events...some don't appear to function
  637. # as well as they could
  638. #*Audio startup gong.au
  639. #*Audio shutdown clink.au
  640. #*Audio add_window bong.au
  641. #*Audio raise_window drip.au
  642. #*Audio lower_window drip.au
  643. #*Audio focus_change drip.au    
  644. #*Audio destroy_window crash.au
  645. #*Audio iconify ploop.au
  646. #*Audio deiconify ploop.au
  647. #*Audio toggle_paging fwop.au
  648. #*Audio new_page beaming.au 
  649. #*Audio new_desk beam_trek.au
  650. #*Audio configure_window huh.au
  651. #*Audio window_name bong.au
  652. #*Audio icon_name beep.au
  653. #*Audio res_class bong.au
  654. #*Audio res_name beep.au
  655. #*Audio end_windowlist twang.au
  656.  
  657. # qed
  658.