mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

141 lines
3.8 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/x11/xfree86/twm-defaults.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. Some twm configs Clifford likes more ...
  23. --- xc/programs/twm/system.twmrc.orig 2003-08-28 02:06:28.000000000 +0200
  24. +++ xc/programs/twm/system.twmrc 2003-08-28 02:36:46.000000000 +0200
  25. @@ -12,6 +12,8 @@
  26. # $XFree86: xc/programs/twm/system.twmrc,v 1.5 2003/08/04 10:32:30 eich Exp $
  27. #
  28. +NoDefaults
  29. +
  30. NoGrabServer
  31. RestartPreviousState
  32. DecorateTransients
  33. @@ -21,6 +23,9 @@
  34. IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
  35. IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*"
  36. #ClientBorderWidth
  37. +RandomPlacement
  38. +AutoRelativeResize
  39. +IconifyByUnmapping
  40. Color
  41. {
  42. @@ -47,48 +52,65 @@
  43. MoveDelta 3
  44. Function "move-or-lower" { f.move f.deltastop f.lower }
  45. Function "move-or-raise" { f.move f.deltastop f.raise }
  46. -Function "move-or-iconify" { f.move f.deltastop f.iconify }
  47. +Function "xiconify" { f.iconify f.showiconmgr }
  48. #
  49. # Set some useful bindings. Sort of uwm-ish, sort of simple-button-ish
  50. #
  51. -Button1 = : root : f.menu "defops"
  52. -Button1 = m : window|icon : f.function "move-or-lower"
  53. -Button2 = m : window|icon : f.iconify
  54. -Button3 = m : window|icon : f.function "move-or-raise"
  55. +LeftTitleButton "opendotMask" = f.function "xiconify"
  56. +RightTitleButton "star" = f.delete
  57. +
  58. +Button1 = : root : f.menu "defops"
  59. +Button2 = : root : f.menu "apps"
  60. +Button3 = : root : f.exec "xterm &"
  61. Button1 = : title : f.function "move-or-raise"
  62. -Button2 = : title : f.raiselower
  63. +Button2 = : title : f.fullzoom
  64. +Button3 = : title : f.function "move-or-lower"
  65. -Button1 = : icon : f.function "move-or-iconify"
  66. -Button2 = : icon : f.iconify
  67. +Button1 = : icon : f.function "xiconify"
  68. +Button3 = : icon : f.identify
  69. +
  70. +Button1 = : iconmgr : f.function "xiconify"
  71. +Button2 = : iconmgr : f.raise
  72. +Button3 = : iconmgr : f.identify
  73. +
  74. +Button1 = : frame : f.resize
  75. +Button2 = : frame : f.raiselower
  76. +Button3 = : frame : f.function "move-or-raise"
  77. -Button1 = : iconmgr : f.iconify
  78. -Button2 = : iconmgr : f.iconify
  79. #
  80. # And a menus with the usual things
  81. #
  82. menu "defops"
  83. {
  84. -"Twm" f.title
  85. -"Iconify" f.iconify
  86. -"Resize" f.resize
  87. -"Move" f.move
  88. -"Raise" f.raise
  89. -"Lower" f.lower
  90. -"" f.nop
  91. -"Focus" f.focus
  92. -"Unfocus" f.unfocus
  93. -"Show Iconmgr" f.showiconmgr
  94. -"Hide Iconmgr" f.hideiconmgr
  95. -"" f.nop
  96. -"Xterm" f.exec "exec xterm &"
  97. -"" f.nop
  98. -"Kill" f.destroy
  99. -"Delete" f.delete
  100. -"" f.nop
  101. -"Restart" f.restart
  102. -"Exit" f.quit
  103. + "TWM" f.title
  104. + "Iconify" f.iconify
  105. + "Resize" f.resize
  106. + "Move" f.move
  107. + "Raise" f.raise
  108. + "Lower" f.lower
  109. + "Zoom" f.fullzoom
  110. + "" f.nop
  111. + "Focus" f.focus
  112. + "Unfocus" f.unfocus
  113. + "Show Iconmgr" f.showiconmgr
  114. + "Hide Iconmgr" f.hideiconmgr
  115. + "" f.nop
  116. + "Kill" f.destroy
  117. + "Delete" f.delete
  118. + "" f.nop
  119. + "Restart" f.restart
  120. + "Exit" f.quit
  121. +}
  122. +
  123. +menu "apps"
  124. +{
  125. + "Applications" f.title
  126. + "xTerm" f.exec "xterm &"
  127. + "xTerm (black)" f.exec "xterm -fg white -bg black &"
  128. + "Mozilla" f.exec "mozilla &"
  129. + "Icon Manager" f.showiconmgr
  130. }