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