CrunchBang Linux Pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

CrunchBang Linux Pastebin

Posted by aaro on Sat 3rd Dec 18:02 (modification of post by view diff)
download | new post

  1. #
  2. # $Xorg: system.twmrc,v 1.3 2000/08/17 19:54:08 cpqbld Exp $
  3. #
  4. # Default twm configuration file; needs to be kept small to conserve string
  5. # space in systems whose compilers don't handle medium-sized strings.
  6. #
  7. # Sites should tailor this file, providing any extra title buttons, menus, etc.
  8. # that may be appropriate for their environment.  For example, if most of the
  9. # users were accustomed to uwm, the defaults could be set up not to decorate
  10. # any windows and to use meta-keys.
  11. #
  12. # $XFree86: xc/programs/twm/system.twmrc,v 1.4 2001/01/17 23:45:08 dawes Exp $
  13. #
  14.  
  15. NoGrabServer
  16. RestartPreviousState
  17. DecorateTransients
  18. TitleFont "-*-clean-medium-r-*-*-12-*-*-*-*-*-*-*"
  19. ResizeFont "-*-clean-medium-r-*-*-12-*-*-*-*-*-*-*"
  20. MenuFont "-*-clean-medium-r-*-*-12-*-*-*-*-*-*-*"
  21. IconFont "-*-clean-medium-r-*-*-12-*-*-*-*-*-*-*"
  22. IconManagerFont "-*-clean-medium-r-*-*-12-*-*-*-*-*-*-*"
  23. #ClientBorderWidth
  24.  
  25. NoTitleHighlight
  26. NoMenuShadows
  27. BorderWidth 1
  28. ButtonIndent 2
  29. FramePadding 0
  30. IconBorderWidth 1
  31. MenuBorderWidth 1
  32. TitleButtonBorderWidth 1
  33. #TitlePadding 8
  34. #SqueezeTitle
  35.  
  36. Color
  37. {
  38.     BorderColor "gray25"
  39.     BorderTileBackground "gray10"
  40.     BorderTileForeground "gray25"
  41.     DefaultBackground "gray10"
  42.     DefaultForeground "gray25"
  43.     TitleBackground "gray10"
  44.     TitleForeground "gray25"
  45.     MenuBackground "gray10"
  46.     MenuForeground "gray25"
  47.     MenuBorderColor "gray25"
  48.     MenuTitleBackground "gray10"
  49.     MenuTitleForeground "gray25"
  50.     IconBackground "gray10"
  51.     IconForeground "gray25"
  52.     IconBorderColor "gray25"
  53.     IconManagerBackground "gray10"
  54.     IconManagerForeground "gray25"
  55.     IconManagerHighlight "gray25"
  56. }
  57.  
  58. #Color
  59. #{
  60. #    BorderColor "gray80"
  61. #    BorderTileBackground "gray95"
  62. #    BorderTileForeground "gray80"
  63. #    DefaultBackground "gray95"
  64. #    DefaultForeground "gray80"
  65. #    TitleBackground "gray95"
  66. #    TitleForeground "gray80"
  67. #    MenuBackground "gray95"
  68. #    MenuForeground "gray80"
  69. #    MenuBorderColor "gray80"
  70. #    MenuTitleBackground "gray95"
  71. #    MenuTitleForeground "gray80"
  72. #    IconBackground "gray95"
  73. #    IconForeground "gray80"
  74. #    IconBorderColor "gray80"
  75. #    IconManagerBackground "gray95"
  76. #    IconManagerForeground "gray80"
  77. #    IconManagerHighlight "gray80"
  78. #}
  79.  
  80.  
  81. #Color
  82. #{
  83. #    BorderColor "slategrey"
  84. #    DefaultBackground "rgb:2/a/9"
  85. #    DefaultForeground "gray85"
  86. #    TitleBackground "rgb:2/a/9"
  87. #    TitleForeground "gray85"
  88. #    MenuBackground "rgb:2/a/9"
  89. #    MenuForeground "gray85"
  90. #    MenuBorderColor "slategrey"
  91. #    MenuTitleBackground "gray70"
  92. #    MenuTitleForeground "rgb:2/a/9"
  93. #    IconBackground "rgb:2/a/9"
  94. #    IconForeground "gray85"
  95. #    IconBorderColor "gray85"
  96. #    IconManagerBackground "rgb:2/a/9"
  97. #    IconManagerForeground "gray85"
  98. #}
  99.  
  100. #Color
  101. #{
  102. #BorderColor         "#AEB2C5"
  103. #BorderColor         "white"
  104. #DefaultBackground   "#AEB2C5"
  105. #DefaultForeground   "Black"
  106.  
  107. #TitleBackground     "#B44D7A"
  108. #TitleForeground     "White"
  109.  
  110. #MenuTitleBackground "#B44D7A"
  111. #MenuTitleForeground "White"
  112.  
  113. #MenuBackground      "#AEB2C5"
  114. #MenuForeground      "#322E2D"
  115.  
  116. #MenuShadowColor     "#322E2D"
  117. #MenuBorderColor     "White"
  118.  
  119. #IconManagerBackground "#aeb2c5"
  120. #IconManagerForeground "#322e2d"
  121. #IconManagerHighlight "322e2d"
  122. #}
  123.  
  124. #
  125. # Define some useful functions for motion-based actions.
  126. #
  127. MoveDelta 3
  128. Function "move-or-lower" { f.move f.deltastop f.lower }
  129. Function "move-or-raise" { f.move f.deltastop f.raise }
  130. Function "move-or-iconify" { f.move f.deltastop f.iconify }
  131.  
  132. #
  133. # Set some useful bindings.  Sort of uwm-ish, sort of simple-button-ish
  134. #
  135. Button1 = : root : f.menu "main"
  136. Button3 = : root : f.menu "windowops"
  137.  
  138. Button1 = m : window|icon : f.function "move-or-lower"
  139. Button2 = m : window|icon : f.iconify
  140. Button3 = m : window|icon : f.function "move-or-raise"
  141.  
  142. Button1 = : title : f.function "move-or-raise"
  143. Button3 = : title : f.raiselower
  144.  
  145. Button1 = : icon : f.function "move-or-iconify"
  146. Button3 = : icon : f.iconify
  147.  
  148. Button1 = : iconmgr : f.iconify
  149. Button3 = : iconmgr : f.iconify
  150.  
  151. #
  152. # And a menus with the usual things
  153. #
  154. menu "main"
  155. {
  156.                 "Main Menu"          f.title
  157.                 "Terminal"            f.exec "xterm -bg 'gray10' -fg 'gray50' -fa 'clean-12' &"
  158.                 ""                  f.nop
  159.                 "Show Icon Manager"     f.showiconmgr
  160.                 "Hide Icon Manager"     f.hideiconmgr
  161.                 ""                  f.nop
  162.                 "Exit"      f.menu "Quit-Verify"
  163. }
  164.  
  165. menu "Quit-Verify"
  166. {
  167.                 "Really quit twm?"      f.title
  168.                 "No, restart twm"       f.restart
  169.                 "Yes, really quit"      f.quit
  170. }
  171.  
  172. menu "windowops"
  173. {
  174.                 "Window Ops"        f.title
  175.                 ""                  f.nop
  176.                 "Iconify"              f.iconify
  177.                 "Resize"                f.resize
  178.                 "V-Max"   f.zoom
  179.                 "H-Max"   f.hzoom
  180.                 "F-Max"   f.fullzoom
  181.                 "Move"      f.move
  182.                 "Raise"   f.raise
  183.                 "Lower"   f.lower
  184.                 ""                  f.nop
  185.                 "Focus"   f.focus
  186.                 "Unfocus"              f.unfocus
  187.                 ""                  f.nop
  188.                 "Delete"                f.delete
  189.                 "Destroy"              f.destroy
  190. }

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me