home *** CD-ROM | disk | FTP | other *** search
/ Dream 50 / Amiga_Dream_50.iso / Linux / AfterStep / desktops / tsb@u.arizona.edu / steprc next >
Encoding:
Text File  |  1997-06-24  |  20.0 KB  |  604 lines

  1. # 06/19/97 Sunz AfterStep Linux Theme tsb@u.arizona.edu
  2.  
  3.  
  4. #///////////////////////////////////#
  5. # Distinctive Look and Feel Section #
  6. #///////////////////////////////////#
  7. StdForeColor         #111111
  8. StdBackColor         grey40
  9. HiForeColor         lemonchiffon
  10. HiBackColor         black
  11. MenuBackColor        grey50
  12. MenuForeColor        white
  13.  
  14. # Set some cursors
  15. Cursor 5 68   # Set the WAIT cursor to the normal left_ptr
  16. Cursor 7 68   # Set the SELECT (iconify) cursor
  17. Cursor 8 68   # Set the DESTROY cursor
  18.  
  19. TextureTypes 2 2 2 2 2 0 
  20. TextureMaxColors 128 128 128 128
  21.  
  22. TexturedHandle
  23. TitleTextureColor    black    darkolivegreen
  24. UTitleTextureColor    darkolivegreen    black
  25. MTitleTextureColor    darkolivegreen  black
  26. MenuTextureColor    black    darkolivegreen
  27.  
  28. #ButtonTextureType 128
  29. ButtonPixmap wharf.xpm
  30. #ButtonTextureColor darkolivegreen black 
  31. #ButtonMaxColors 128 
  32. #ButtonNoBorder
  33.  
  34. #TitlebarNoPush
  35.  
  36. # Menu Font
  37. Font                    -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*
  38. # Window TitleBar Font
  39. WindowFont              -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*
  40. # Icon Font
  41. IconFont                -adobe-helvetica-medium-r-*-*-8-*-*-*-*-*-*-*
  42. # Area where icons should show up (RightX, RightY, LeftX, LeftY)
  43. IconBox 2 700 -1 -1
  44.  
  45. #//////////////////#
  46. # Window Placement #
  47. #//////////////////#
  48. # RandomPlacement prevents user interaction while placing windows:
  49. # RandomPlacement
  50.  
  51. # SmartPlacement makes new windows pop-up in blank regions of screen 
  52. # if possible, otherwise falls back to random or interactive placement
  53. SmartPlacement
  54.  
  55. # Percentage of a page (horizontal, vertical) to scroll when the 
  56. # cursor reaches the edge of a page ... 0 0 turns off scrolling
  57. EdgeScroll 0 0
  58.  
  59. # Amount of Resistance for moving from desk to desk with the
  60. # mouse ... 0 0 allows for only window moves and resizes to
  61. # reach into the next desk
  62. EdgeResistance 0 0
  63.  
  64. # Raise the Window when it is clicked on, but do not pass the click
  65. # on to the application ... very handy for text editors
  66. # Change 1 to 0 in order to get the "normal" ClickToFocus effect
  67. ClickToFocus 1
  68.  
  69. # Raise the Window when the mouse travels into it and keep focus
  70. # until the mouse enters a new window
  71. #SloppyFocus
  72.  
  73. # Miscellaneous voodoo commands - they may help you, they may not
  74. #AppsBackingStore
  75. #BackingStore
  76. #SaveUnders
  77.  
  78. # This style of window movement draws the entire window as it
  79. # moves, instead of the "rubber-band" outlines
  80. # It has a number (N) attached to it (default 5).  If the 
  81. # window occupies less than N% of the screen, OpaqueMove is 
  82. # used. 0 <= N <= 100 
  83. OpaqueMove 100
  84.  
  85. # NoPPosition instructs fvwm to ignore the PPosition field in window 
  86. # geometry hints.
  87. # Emacs annoyingly sets PPosition to (0,0)!
  88. NoPPosition
  89.  
  90. #////////////////////////#
  91. # Miscellaneous Settings #
  92. #////////////////////////#
  93. # Set windows to auto-raise after 325 milliseconds if you like it.
  94. # Use with SloppyFocus or focus-follows-mouse mode
  95. # Module Auto 250
  96.  
  97. # If you don't like the default 150 msec click delay for the complex functions
  98. # change this.
  99. ClickTime 150
  100.  
  101. # Don't change to an icon when using Alt-Tab to page through open windows
  102. CirculateSkipIcons
  103.  
  104. # StubbornIcons makes icons de-iconify into their original position on the
  105. # desktop, instead of on the current page.
  106. #StubbornIcons
  107.  
  108. # Place a TitleBar and Handles on popup windows and dialog boxes
  109. DecorateTransients
  110.  
  111. # With AutoPlacement, icons will normally place themselves underneath active
  112. # windows. This option changes that.
  113. #StubbornIconPlacement
  114.  
  115. # If you want ALL you icons to follow you around the desktop (Sticky), try
  116. # this
  117. StickyIcons
  118.  
  119. #///////////////////////////#
  120. # Pager and Virtual Desktop #
  121. #///////////////////////////#
  122. # Set up the virtual desktop and pager
  123. # Set the desk top size in units of physical screen size
  124. DeskTopSize 2x2
  125. # Sets the reduction scale used for the Pager
  126. DeskTopScale 32
  127.  
  128. #//////////////#
  129. # Common Paths #
  130. #//////////////#
  131. # ModulePath is a colon-separated list, just like a regular unix PATH
  132. # Any Module must be found within the path in order to be located
  133. # and executed
  134. ModulePath         ~/: /usr/lib/X11/afterstep:/usr/X11R6/lib/X11/afterstep
  135. # Another colon-separated list pointing to your pixmaps (color icons)
  136. PixmapPath          ~/:/usr/include/X11/pixmaps/:/usr/local/ximages/
  137. # Path for your ugly black&white icons
  138. IconPath            /usr/include/X11/bitmaps/
  139.  
  140. # Various styles which can be associated with specific applications
  141. # Sticky -- remains "stuck" on all desks
  142. # NoTitle -- window has NoTitle
  143. # StaysOnTop -- a regular window will not obscure this window
  144. # WindowListSkip -- this window will not show up in the
  145. #   window listing which can be used with a MiddleClick in 
  146. #   the root window (main background)
  147. # NoHandles -- No bottom bar
  148. Style "oclock" Sticky, NoTitle, StaysOnTop, WindowListSkip
  149. Style "*Pager" NoTitle, Sticky, StaysOnTop, WindowListSkip, NoHandles
  150. Style "xbiff" NoTitle, WindowListSkip
  151. Style "Minitabx11" StaysOnTop
  152. Style "Wharf" NoFocus,NoTitle, Sticky, WindowListSkip,StaysOnTop, NoHandles
  153. Style "Banner"    NoTitle, NoHandles, WindowListSkip, Sticky, StaysOnTop
  154.  
  155. ##################################
  156. # Animated Iconize Customization #
  157. ##################################
  158. Module Animate
  159. # Draw the lines with black
  160. *AnimateColor Black
  161. # Delay 1 ms in between frames of animation
  162. *AnimateDelay 1
  163. # Break the animation into 12 steps
  164. *AnimateIterations 12
  165. # Make 1 full revolution in a twisted animation
  166. #*AnimateTwist 1
  167. # Width of line used to animate...0 fastest, larger numbers slower
  168. *AnimateWidth 0
  169. # Use the zoom method of resizing instead of the twist
  170. *AnimateResize zoom
  171. #*AnimateResize twist
  172.  
  173. #/////////////////////#
  174. # Wharf Customization #
  175. #/////////////////////#
  176. #Module Wharf
  177. *WharfTextureType 128
  178. *WharfPixmap /home/Sunz/wharf.xpm
  179.  
  180. *WharfGeometry -0+0
  181.  
  182. *WharfColumns 1 
  183. *WharfNoBorder
  184. *WharfFullPush
  185. #*WharfTextureColor navy black
  186. #*WharfMaxColors 128
  187.  
  188. *WharfAnimate
  189. *WharfAnimateMain
  190.  
  191. # Create a pullout "Folder" as the first button on Wharf
  192. *Wharf AfterStep AFstep.xpm Folder
  193.   # Include all desired icons for this initial Folder here
  194.   # The first listed will be closest to Wharf upon expansion
  195.   # The last will be furthest
  196.   # This first will shut down AfterStep
  197. *Wharf Shutdown  shutdown.xpm  Quit
  198.  # Recycle your AfterStep session (Restart)
  199. *Wharf Recycler  nrestart.xpm  Restart " " afterstep
  200.   # Lock the display and use a random screensaver from the modelist
  201. # *Wharf xlock KeysOnChain.xpm Exec "-" xlock -modelist "braid flame grav pyro qix rock spiral spline swarm worm" -mode random -duration 0 -allowroot -usefirst &
  202.   # Close the Folder
  203. *Wharf ~Folder
  204.   # Add a "Beat"iful little timepiece 
  205.   # MaxSwallow it in order to fit the full button
  206. *Wharf asclock nil MaxSwallow "asclock" asclock -12 -shape -position -1-1 &
  207.   # Check for mail ... this time only use a regular Swallow in order
  208.   # to capture the application in a 48x48 frame
  209. #*Wharf xbiff   nil   Swallow "xbiff" xbiff -bg "#8e8a9e" -fg "#00003f" -geometry 45x45-1-1 &
  210.   # Examine your computer's load
  211. #*Wharf xload nil  Swallow "xload" xload -nolabel -hl black -bg "#8e8a9e" -geometry 48x48-1-1 &
  212. #*Wharf xload nil  Exec "" xterm -ut -T top -e top &
  213.   # Open up an xterm
  214. *Wharf rxvt nhome.xpm   Exec "-" rxvt -pixmap back.xpm -fg lemonchiffon -geometry 80x25 -sl 256 -sb -ls -T '*Sunz*' &
  215.   # Read some mail
  216. *Wharf xtelnet nurse_email.xpm Exec "-"  xtelnet &
  217.   # Surf the web
  218. *Wharf Netscape Netscape-Oct.xpm Exec "-" /usr/local/netscape/netscape &
  219.   # Cool CD Player (ASCD)
  220. #*Wharf ncd.xpm ascd Exec "-" ascd -d /dev/hdc &
  221.  
  222. #*Wharf Xcdplay ncd.xpm Exec "-" xplaycd &
  223.   # Create amazing art with the freeware masterpiece, The GIMP
  224. *Wharf gimp 3dpaint.xpm Exec "-" gimp &
  225.  # Start up GNU Emacs
  226. *Wharf emacs AfterStep.xpm Exec "-" emacs &
  227.   # Edit this file in its own window
  228. *Wharf config interface.xpm Exec "-" emacs ~/.steprc &
  229.  # Swallow a pager to quickly get an outlook on your virtual desktop
  230.  # Click on the different "desks" to change in between them
  231. *Wharf pager nil SwallowModule "Pager" Pager 0 0
  232.  
  233. #////////////////#
  234. # Icon Selection #
  235. #////////////////#
  236. # Select some common icon bitmaps for applications named in
  237. # column number two ... each icon file must be located in 
  238. # your PixmapPath (color) or IconPath (b/w) as defined above 
  239. Icon "xterm"        monitor.xpm
  240. Icon "GiMP"        3dpaint.xpm
  241. Icon "*emacs*"      text.xpm
  242. Icon "xman"        xman.xpm
  243. Icon "xli"        monalisa.xpm
  244. Icon "moxfm*"       FileFolders.xpm
  245. Icon "Untitled*"    YellowBlueRedGeometry.xpm
  246.  
  247.  
  248. #/////////////////////////#
  249. # Initialization Function #
  250. #/////////////////////////#
  251. # Here we will put programs and modules that we wish to
  252. # load up automatically upon startup
  253.  
  254. Function "InitFunction"
  255.         Wait    "I"    Wharf
  256.     Exec    "I"    exec xloadimage -onroot Sunz.jpg
  257.  
  258.     Exec    "I"    exec tycoon
  259. #    Exec    "I"    exec xsetroot -solid black
  260.  
  261. EndFunction
  262.  
  263. # These will load up upon every subsequent Restart
  264. #Function "RestartFunction"
  265. #        Module  "I"     FvwmPager 0 0
  266. #EndFunction
  267.  
  268. #///////////#
  269. # Functions #
  270. #///////////#
  271. # Now define some handy complex functions
  272. # Each function can be bound to a specific Mouse Button and
  273. # a specific window location (Title, TitleButton, Root Window, 
  274. # etc.) later on
  275.  
  276. # This one will Raise the window on a Single Click, Shade 
  277. # (display only the TitleBar) on a DoubleClick, and make 
  278. # the window uncoverable by all other non-OnTop windows 
  279. # with a TripleClick.  A Click+Motion will move the
  280. # window around
  281. Function "Shade-or-Raise"
  282.     Move        "Motion"
  283.     Raise        "Click"
  284.     Shade        "DoubleClick"
  285.     PutOnTop    "TripleClick"
  286. EndFunction
  287.  
  288. # This will move the window on mouse motion, maximize the
  289. # window (while leaving space for Wharf on the right) with a 
  290. # single MouseClick, roll up the window for a Shade with a 
  291. # DoubleClick, and put the window on top of all other windows
  292. # with a TripleClick (no regular window can be placed on top
  293. # of this window until the ontop window has been taken 
  294. # another PutOnTop TripleClick
  295. Function "Maximize_Function"
  296.     Move        "Motion"
  297.     Maximize    "Click" 94 100
  298.     Shade        "DoubleClick"
  299.      PutOnTop    "TripleClick"
  300. EndFunction
  301.  
  302. # This one moves or (de)iconifies:
  303. # Icons will restore to full size with a single mouse click
  304. # Change "Click" to "DoubleClick" or "TripleClick" as desired
  305. Function "Move-or-Iconify"
  306.     Move         "Motion"
  307.     Iconify        "Click"
  308. EndFunction
  309.  
  310. # Pretty Simple...Mouse Motion Raises and Resizes the given
  311. # window.   A mouse click will also Raise it.  DoubleClick
  312. # will perform a Shade while TripleClick grants unobscurable
  313. # status
  314. Function "Resize-or-Raise"
  315.     Resize         "Motion"
  316.     Raise        "Motion"
  317.     Raise        "Click"
  318.     Shade        "DoubleClick"
  319.     PutOnTop    "TripleClick"
  320. EndFunction
  321.  
  322. # This is provided as a hint only.
  323. # Move to a known page on the desktop, then start an application in a
  324. # known location. Could also switch to a known desktop, I guess
  325. #Function "abs_coord"
  326. #       GoToPage "Immediate"    1,1
  327. #       Exec    "Immediate"     exec xcalc -geometry +100+100&
  328. #EndFunction
  329.  
  330. #///////#
  331. # Menus #
  332. #///////#
  333. # Now define the menus - defer bindings until later
  334.  
  335. # Here are some common applications...we will add this and the 
  336. # following menus to our main HotList menu
  337. Popup "Applications"
  338.         Title "Applications"
  339.         Exec   "GNU Emacs"      exec emacs &
  340.         Exec   "Bitmap"         exec bitmap &
  341.         Exec   "Xxgdb"          exec xxgdb &
  342.         Exec   "Calculator"     exec xcalc &
  343. EndPopup
  344.  
  345. # Some diversionary tactics...xsnow is a personal favorite of mine
  346. Popup "Games"
  347.         Title "Games"
  348.         Exec    "Xsnow"         exec xsnow -nonopopup &
  349.         Exec    "Xboard"        exec xboard &
  350.         Exec    "XTetris"       exec xtetris &
  351.         Exec    "Xvier"         exec xvier &
  352. EndPopup
  353.  
  354. # Various ScreenSavers that lock the display
  355. Popup "Xlock"
  356.     Title    "Xlock"
  357.     Exec    "Braid"        exec xlock -allowroot -usefirst -mode braid &
  358.     Exec    "Flame"        exec xlock -allowroot -usefirst -mode flame &
  359.     Exec    "Grav"        exec xlock -allowroot -usefirst -mode grav &
  360.     Exec    "Pyro"        exec xlock -allowroot -usefirst -mode pyro &
  361.     Exec    "Qix"        exec xlock -allowroot -usefirst -mode qix &
  362.     Exec    "Rock"        exec xlock -allowroot -usefirst -mode rock &
  363.     Exec    "Slip"        exec xlock -allowroot -usefirst -mode spiral &
  364.     Exec    "Spline"    exec xlock -allowroot -usefirst -mode spline &
  365.     Exec    "Swarm"        exec xlock -allowroot -usefirst -mode swarm &
  366.     Exec    "Worm"        exec xlock -allowroot -usefirst -mode worm &
  367. EndPopup
  368.  
  369. # Some administrative tasks...note that Config opens up an
  370. # xterm and automatically edits this file
  371. Popup "Utilities"
  372.     Title  "Utilities"
  373.         Exec    "Config"        exec xterm -T "AfterStep Configuration" -e vi ~/.steprc &
  374.         Exec    "Top"           exec rxvt -T Top -n Top -e top &
  375.     Popup    "Xlock"        Xlock
  376. EndPopup
  377.  
  378. # This menu allows you to quit, although why you would want
  379. # to do such a thing is beyond me
  380. Popup "Quit-Verify"
  381.     Title    "Quit?"
  382.     Quit    "Yes, Quit"
  383.     Restart "Restart"    afterstep
  384.     Nop    "No, Don't"
  385. EndPopup
  386.  
  387. # Modules ... technically, asclock is a fully functioning
  388. # program, but I like to think of it as a nice module 
  389. Popup "Module-Popup"
  390.     Title    "Modules"
  391.     Exec    "asclock" exec asclock -12 -shape &
  392.     Module  "Banner"  Banner
  393.   Module  "Pager"   Pager 0 0
  394.   Module  "Wharf"   Wharf
  395. EndPopup
  396.  
  397. # Animations ... screen savers run as the default background
  398. Popup "Animations"
  399.     Title    "Animations"
  400.     Exec    "Braid"        exec xlock -inroot -mode braid &
  401.     Exec    "Flame"        exec xlock -inroot -mode flame &
  402.     Exec    "Grav"        exec xlock -inroot -mode grav &
  403.     Exec    "Pyro"        exec xlock -inroot -mode pyro &
  404.     Exec    "Qix"        exec xlock -inroot -mode qix &
  405.     Exec    "Rock"        exec xlock -inroot -mode rock &
  406.     Exec    "Slip"        exec xlock -inroot -mode spiral &
  407.     Exec    "Spline"    exec xlock -inroot -mode spline &
  408.     Exec    "Swarm"        exec xlock -inroot -mode swarm &
  409.     Exec    "Worm"        exec xlock -inroot -mode worm &
  410.   # Stop the animation in the background
  411.     Exec    "Stop It"    exec kill -9 $(ps aux | grep xlock | grep -v grep | awk '{print $2}')
  412. EndPopup
  413.  
  414. # Colors ... quick way to chage desktop coloring
  415. Popup "Colors"
  416.     Title    "Colors"
  417.     Exec    "Black"        exec xsetroot -solid Black
  418.     Exec    "Red"        exec xsetroot -solid Red
  419.     Exec    "Yellow"    exec xsetroot -solid Yellow
  420.     Exec    "Green"        exec xsetroot -solid Green
  421.     Exec    "Cyan"        exec xsetroot -solid Cyan
  422.     Exec    "Blue"        exec xsetroot -solid Blue
  423.     Exec    "Magenta"    exec xsetroot -solid Magenta
  424.     Exec    "White"        exec xsetroot -solid White
  425. EndPopup
  426.  
  427. # Images ... quick way to view the included default background images
  428. Popup "Images"
  429.     Title    "Images"
  430.     Exec    "Brick"        exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/brick.jpg
  431.     Exec    "Coins"        exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/coins.jpg
  432.     Exec    "Dark Wood"    exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/darkwood.jpg
  433.     Exec    "Eyes"        exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/eyes.jpg
  434.     Exec    "Glass"        exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/glass.jpg
  435.     Exec    "Green Carpet"    exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/carpet.green.jpg
  436.     Exec    "Parquet"    exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/parquet.jpg
  437.     Exec    "Pebbles"    exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/pebbles.jpg
  438.     Exec    "Rock"        exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/rock.tile.jpg
  439.     Exec    "Rope"        exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/rope.weave.jpg
  440.     Exec    "Stucco"    exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/stucco.jpg
  441.     Exec    "Tile"        exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/tile.check.jpg
  442.     Exec    "Tree Bark"    exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/bark.jpg
  443.     Exec    "Volcanic"    exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/volcanic.jpg
  444.     Exec    "Wood"        exec xv -root -quit /usr/lib/X11/afterstep/backgrounds/wood.jpg
  445. EndPopup
  446.  
  447. # Background settings ... choose from either Solid Colors or Color Images
  448. Popup "Backgrounds"
  449.     Title    "XImages"
  450.     Popup    "Animations"    Animations
  451.     Popup     "Colors"    Colors
  452.     Popup    "Images"    Images
  453. EndPopup
  454.  
  455. # Here is our main Menu that will be seen upon left MouseClick
  456. # in the root window (background area) ... note that we have added
  457. # our above Menus to this one ... also note that menus must be
  458. # defined first before they can be placed in a different menu
  459. Popup "HotList"
  460.     Title     "HotList"
  461.         Exec    "rxvt"         exec rxvt -pixmap back.xpm -fg lemonchiffon -ls -sl 256 -sb -T '*Sunz*' &
  462.         Exec    "Netscape"  exec netscape &
  463.         Popup   "Applications"  Applications
  464.     Popup    "Utilities"    Utilities
  465.         Popup   "Games"         Games
  466.     Popup    "Backgrounds"    Backgrounds
  467.         Popup   "Modules"       Module-Popup
  468.         Popup   "Exit"         Quit-Verify
  469. EndPopup
  470.  
  471. # This defines the most common window operations
  472. Popup "Window Ops"
  473.         Title           "Window Ops"
  474.         Function        "Move"          Shade-or-Raise
  475.         Function        "Resize"        Resize-or-Raise
  476.         Raise           "Raise"
  477.         Lower           "Lower"
  478.     PutOnTop    "(Un)PutOnTop"
  479.         Iconify         "(De)Iconify"
  480.         Stick           "(Un)Stick"
  481.         Function        "(Un)Maximize"  Maximize_Function
  482.         Destroy         "Destroy"
  483.         Close           "Close"
  484.         Refresh         "Refresh Screen"
  485. EndPopup
  486.  
  487.  
  488. #////////////////#
  489. # Mouse Bindings #
  490. #////////////////#
  491. # First, for the mouse in the root window
  492. # Button 1 gives the HotList menu
  493. # Button 2 gives the WindowList menu (Listing of current windows)
  494. # Button 3 gives the WindowOps
  495.  
  496. # There are 4 colums to the table
  497. # First column is the event (Mouse Click or Key Press)
  498. #   Mouse 0 specify any click in a TitleBar box
  499. #     Where can be 1 or 2 for first or second box
  500. #   Mouse 1 is left button, 2 is middle, 3 is right
  501. # Second Column is where the click takes place
  502. #   R = Root window (main background)
  503. #   F = Window Frame (the corners)
  504. #   S = Bottom bar
  505. #   I = Icon Window
  506. #   T = TitleBar
  507. #   W = Application Window
  508. # Third Column is the Context (ie, modifier keys)
  509. #   N = No modifiers
  510. #   A = Any context except for inside the TitleBar Boxes
  511. #   C = Control
  512. #   S = Shift
  513. #   M = Meta
  514. #   Combos are allowed (eg, CS = Control+Shift)
  515. # Fourth Column is the action to take upon click
  516. #   Action can be a function, popup, or regular action
  517. # Key #  # Where #  # Context#       # Action #
  518. Mouse 0         1       A       Iconify
  519. Mouse 0         2       A       Close
  520. Mouse 1        R       A       PopUp "HotList"
  521. Mouse 1        FS    A    Function "Resize-or-Raise"
  522. Mouse 1        I    A    Function "Move-or-Iconify"
  523. Mouse 1        T    A    Function "Shade-or-Raise"
  524. Mouse 2         R       A       WindowList
  525. Mouse 2        FST    A    PopUp "Window Ops"
  526. Mouse 3        TSIF    A    Function "Maximize_Function"
  527. Mouse 3         R       A       PopUp "Window Ops"
  528. Mouse 3         W       M       RaiseLower
  529.  
  530. #////////////////////#
  531. # Keyboard Shortcuts #
  532. #////////////////////#
  533.  
  534. Key F1        A    M    Popup "HotList"
  535. Key F2        A    M    Popup "Window Ops"
  536. Key F3        A    M    WindowList
  537. # Alt-F4 will take a screenshot and save it in
  538. # the user's home directory as screen.xwd
  539. # Programs such as ImageMagick can then be used
  540. # to convert the xwd file into jpg or gif format
  541. Key F4        A    M    Exec "xwd" xwd -root -out ~/screen.xwd &
  542. Key F5             A    A       Iconify
  543. # Alt(Meta)-Tab pages through open, bordered windows
  544. Key Tab        A    M    CirculateUp
  545.  
  546. # Arrow Keys
  547. # Control+Arrow scrolls to the next page on the desk
  548. Key Left        A       C       Scroll -100 0
  549. Key Right       A       C       Scroll +100 +0
  550. Key Up          A       C       Scroll +0   -100
  551. Key Down        A       C       Scroll +0   +100
  552.  
  553. #////////////////////#
  554. # Module Definitions #
  555. #////////////////////#
  556. # Pager Configuration -- We have Swallow-ed Pager into the Wharf
  557. # Now let's change colors and make labels
  558. *PagerBack #908090
  559. *PagerFore #484048
  560. *PagerFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
  561. *PagerHilight #cab3ca
  562. *PagerGeometry -1-1
  563. *PagerLabel 0 Pager
  564. *PagerSmallFont 5x8
  565.  
  566. # Start the Audio player  
  567. Module Audio    
  568.  
  569. # Select your normal audio player
  570. #*AudioPlayCmd /usr/bin/showaudio
  571.  
  572. # Select the directory containing your sounds
  573. #*AudioDir /home/frank/mac/sounds
  574.  
  575. #*AudioDelay 1
  576.  
  577. # Attach sounds to window manager events...some don't appear to function
  578. # as well as they could
  579. #*Audio startup gong.au
  580. #*Audio shutdown clink.au
  581. #*Audio add_window bong.au
  582. #*Audio raise_window drip.au
  583. #*Audio lower_window drip.au
  584. #*Audio focus_change drip.au    
  585. #*Audio destroy_window crash.au
  586. #*Audio iconify ploop.au
  587. #*Audio deiconify ploop.au
  588. #*Audio toggle_paging fwop.au
  589. #*Audio new_page beaming.au 
  590. #*Audio new_desk beam_trek.au
  591. #*Audio configure_window huh.au
  592. #*Audio window_name bong.au
  593. #*Audio icon_name beep.au
  594. #*Audio res_class bong.au
  595. #*Audio res_name beep.au
  596. #*Audio end_windowlist twang.au
  597.  
  598. # qed
  599.  
  600.  
  601.  
  602.  
  603.  
  604.