home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / x11 / x11r5.zoo / usr / lib / X11 / twm / keith.twmrc < prev    next >
Encoding:
Text File  |  1990-01-17  |  3.9 KB  |  224 lines

  1. #**********************************************************************
  2. #
  3. #    .twmrc
  4. #
  5. #**********************************************************************
  6.  
  7. IconDirectory    "/users/keith/misc/bitmaps"
  8.  
  9. #NoDefaults
  10. NoVersion
  11. NoGrabServer
  12. NoRaiseOnMove
  13. NoRaiseOnResize
  14. #NoMenuShadows
  15. NoTitleHighlight
  16. NoHighlight
  17. NoTitleFocus
  18. NoSaveUnders
  19. SqueezeTitle
  20. ConstrainedMoveTime 0
  21. DecorateTransients
  22. #TitleButtonBorderWidth 0
  23. #ButtonIndent 0
  24. #LeftTitleButton "iconify.bm" = f.iconify
  25. #RightTitleButton "resize.bm" = f.resize
  26. OpaqueMove
  27. #ClientBorderWidth
  28. BorderWidth    1
  29. RandomPlacement
  30. #IconRegion    "1024x250+0+600" NORTH WEST 1024 25
  31. IconRegion    "600x200-200+0" NORTH EAST 75 25
  32. #IconRegion    "200x100-0+200" WEST NORTH 25 50
  33. TitleFont    "-*-helvetica-bold-o-normal--*-140-*-*-*-*-iso8859-1"
  34. MenuFont    "-*-helvetica-bold-r-normal--*-140-*-*-*-*-iso8859-1"
  35. IconFont    "-*-helvetica-bold-r-normal--*-140-*-*-*-*-iso8859-1"
  36. ResizeFont    "-*-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-1"
  37. IconManagerFont    "-*-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-1"
  38. #ShowIconManager
  39. SortIconManager
  40. IconManagerGeometry    "=100x100-200+0"
  41.  
  42. # nice colors:  background of wheat, foreground of #d36
  43.  
  44. Cursors
  45. {
  46.     Button "left_ptr"
  47.     Menu "left_ptr"
  48.     Title "left_ptr"
  49.     Frame "left_ptr"
  50.     Icon "left_ptr"
  51. }
  52.  
  53. Color
  54. {
  55.     BorderColor "black"
  56.     TitleBackground "CadetBlue"
  57.     TitleForeground "#fffff0"
  58.     MenuBackground "#fffff0"
  59.     MenuForeground "black"
  60.     MenuTitleBackground "CadetBlue"
  61.     MenuTitleForeground "#fffff0"
  62.     IconBackground "#fffff0"
  63.     IconForeground "black"
  64.     IconBorderColor "black"
  65. }
  66.  
  67. Monochrome
  68. {
  69.     IconManagerHighlight    "white"
  70. }
  71.  
  72. # define key bindings
  73.  
  74. MoveDelta 3
  75.  
  76. Function "move-or-raise"
  77. {
  78.     f.move
  79.     f.deltastop
  80.     f.raise
  81. }
  82.  
  83. Function "move-or-raiselower"
  84. {
  85.     f.move
  86.     f.deltastop
  87.     f.raiselower
  88. }
  89.  
  90. Function "move-or-iconify"
  91. {
  92.     f.move
  93.     f.deltastop
  94.     f.iconify
  95. }
  96.  
  97. Function "next-window"
  98. {
  99. }
  100.  
  101. Function "previous-window"
  102. {
  103. }
  104.  
  105. DefaultFunction f.nop
  106.  
  107. Button1    =    : title     : f.function "move-or-raiselower"
  108. Button2 =    : title        : f.menu "Title Menu"
  109. Button3 =    : title        : f.resize
  110. Button1 = m    : window|icon    : f.iconify
  111. Button2 = m    : window|icon    : f.function "move-or-raiselower"
  112. Button3 = m    : window|icon    : f.resize
  113. Button3 = c m    : title        : f.destroy
  114. Button1 =    : root        : f.menu "Hosts"
  115. Button2 =    : root        : f.menu "Toys"
  116. Button3 =    : root        : f.menu "System"
  117. Button1 =    : icon        : f.function "move-or-iconify"
  118.  
  119. #ForceIcons
  120.  
  121. Icons
  122. {
  123.     "Xmh"        "mail-up.bm"    # from IconDirectory
  124.     "XTerm"        "xterm.bm"    # from IconDirectory
  125. }
  126.  
  127. #UnknownIcon    "icon"
  128.  
  129. NoTitle
  130. {
  131.   "clock"
  132.   "oclock"
  133.   "xclock"
  134.   "xbiff"
  135.   "xeyes"
  136.   "xload"
  137. }
  138.  
  139. IconManagerDontShow {
  140.     "clock"
  141.     "oclock"
  142.     "xclock"
  143.     "xbiff"
  144.     "xeyes"
  145.     "xload"
  146. }
  147.  
  148. menu "Hosts"
  149. {
  150. "Hosts"        f.title
  151. "xenon"        !"xenon &"
  152. "expo"        !"expo &"
  153. "kanga"        !"kanga &"
  154. "exile"        !"exile &"
  155. "expire"    !"expire &"
  156. "excalibur"    !"excalibur &"
  157. "hpx"        !"hpx &"
  158. "expo bugs"    !"expo -l bugs &"
  159. "extort"    !"extort &"
  160. "apx"        !"apx &"
  161. "mfb"        !"mfb &"
  162. "sushi"        !"sushi &"
  163. "tempura"    !"tempora &"
  164. }
  165.  
  166. menu "Toys"
  167. {
  168. "Toys"        f.title
  169. "Jove"        !"xjove &"
  170. "Mail"        !"xmh &"
  171. "Manual"    !"xman &"
  172. "Troff Viewer"    !"xditview &"
  173. "Calculator"    !"xcalc &"
  174. "Mille Bornes"    !"xmille `path -n .mille` &"
  175. "Notepad"    !"xclipboard &"
  176. "Eyes"        !"xeyes &"
  177. "Lens"        !"xmag &"
  178. "expo jove"    !"expo xjove&"
  179. "expo mail"    !"expo xmh &"
  180. }
  181.  
  182. menu "System"
  183. {
  184.     "System"        f.title
  185.     "Window ops"        f.menu "Window Ops"
  186.     "Windows"        f.menu "TwmWindows"
  187.     ""            f.nop
  188.     "Refresh"        f.refresh
  189.     "Unfocus"        f.unfocus
  190.     "Show Icon Box"        f.showiconmgr
  191.     "Hide Icon Box"        f.hideiconmgr
  192.     "Version"        f.version
  193.     ""            f.nop
  194.     "Restart"        f.restart
  195.     "Logout"        f.quit
  196. }
  197.  
  198. menu "Window Ops"
  199. {
  200.     "Window Ops"        f.title
  201.     "Lower"            f.lower
  202.     "Raise"            f.raise
  203.     "Resize"        f.resize
  204.     "Move"            f.move
  205.     "Deiconify"        f.deiconify
  206.     "Iconify"        f.iconify
  207.     "Identify"        f.identify
  208.     "Focus"            f.focus
  209.     "Kill"            f.destroy
  210. }
  211.  
  212. menu "Title Menu"
  213. {
  214.     "Lower"            f.lower
  215.     "Raise"            f.raise
  216.     "Resize"        f.resize
  217.     "Move"            f.move
  218.     "Iconify"        f.iconify
  219.     "Identify"        f.identify
  220.     "Focus"            f.focus
  221.     "Kill"            f.destroy
  222.     "Dismiss"        f.delete
  223. }
  224.