Dash:
[t2.git] / package / xorg / twm / twm-defaults.patch
blob3d80ef62adcfb892c14b33f3e382a9339830cd28
2 # --- T2-COPYRIGHT-NOTE-BEGIN ---
3 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 #
5 # T2 SDE: package/.../twm/twm-defaults.patch
6 # Copyright (C) 2004 - 2005 The T2 SDE Project
7 # Copyright (C) 1998 - 2004 ROCK Linux Project
8 #
9 # More information can be found in the files COPYING and README.
11 # This patch file is dual-licensed. It is available under the license the
12 # patched project is licensed under, as long as it is an OpenSource license
13 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
14 # of the GNU General Public License as published by the Free Software
15 # Foundation; either version 2 of the License, or (at your option) any later
16 # version.
17 # --- T2-COPYRIGHT-NOTE-END ---
19 Some twm configs Clifford likes more ...
21 --- twm/src/system.twmrc.orig 2003-08-28 02:06:28.000000000 +0200
22 +++ twm/src/system.twmrc 2003-08-28 02:36:46.000000000 +0200
23 @@ -12,6 +12,8 @@
24 # $XFree86: xc/programs/twm/system.twmrc,v 1.5 2003/08/04 10:32:30 eich Exp $
27 +NoDefaults
29 NoGrabServer
30 RestartPreviousState
31 DecorateTransients
32 @@ -21,6 +23,9 @@
33 IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
34 IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*"
35 #ClientBorderWidth
36 +RandomPlacement
37 +AutoRelativeResize
38 +IconifyByUnmapping
40 Color
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 }
50 # Set some useful bindings. Sort of uwm-ish, sort of simple-button-ish
52 -Button1 = : root : f.menu "defops"
54 -Button1 = m : window|icon : f.function "move-or-lower"
55 -Button2 = m : window|icon : f.iconify
56 -Button3 = m : window|icon : f.function "move-or-raise"
57 +LeftTitleButton "opendotMask" = f.function "xiconify"
58 +RightTitleButton "star" = f.delete
60 +Button1 = : root : f.menu "defops"
61 +Button2 = : root : f.menu "apps"
62 +Button3 = : root : f.exec "xterm &"
64 Button1 = : title : f.function "move-or-raise"
65 -Button2 = : title : f.raiselower
66 +Button2 = : title : f.fullzoom
67 +Button3 = : title : f.function "move-or-lower"
69 -Button1 = : icon : f.function "move-or-iconify"
70 -Button2 = : icon : f.iconify
71 +Button1 = : icon : f.function "xiconify"
72 +Button3 = : icon : f.identify
74 +Button1 = : iconmgr : f.function "xiconify"
75 +Button2 = : iconmgr : f.raise
76 +Button3 = : iconmgr : f.identify
78 +Button1 = : frame : f.resize
79 +Button2 = : frame : f.raiselower
80 +Button3 = : frame : f.function "move-or-raise"
82 -Button1 = : iconmgr : f.iconify
83 -Button2 = : iconmgr : f.iconify
86 # And a menus with the usual things
88 menu "defops"
90 -"Twm" f.title
91 -"Iconify" f.iconify
92 -"Resize" f.resize
93 -"Move" f.move
94 -"Raise" f.raise
95 -"Lower" f.lower
96 -"" f.nop
97 -"Focus" f.focus
98 -"Unfocus" f.unfocus
99 -"Show Iconmgr" f.showiconmgr
100 -"Hide Iconmgr" f.hideiconmgr
101 -"" f.nop
102 -"Xterm" f.exec "exec xterm &"
103 -"" f.nop
104 -"Kill" f.destroy
105 -"Delete" f.delete
106 -"" f.nop
107 -"Restart" f.restart
108 -"Exit" f.quit
109 + "TWM" f.title
110 + "Iconify" f.iconify
111 + "Resize" f.resize
112 + "Move" f.move
113 + "Raise" f.raise
114 + "Lower" f.lower
115 + "Zoom" f.fullzoom
116 + "" f.nop
117 + "Focus" f.focus
118 + "Unfocus" f.unfocus
119 + "Show Iconmgr" f.showiconmgr
120 + "Hide Iconmgr" f.hideiconmgr
121 + "" f.nop
122 + "Kill" f.destroy
123 + "Delete" f.delete
124 + "" f.nop
125 + "Restart" f.restart
126 + "Exit" f.quit
129 +menu "apps"
131 + "Applications" f.title
132 + "xTerm" f.exec "xterm &"
133 + "xTerm (black)" f.exec "xterm -fg white -bg black &"
134 + "Mozilla" f.exec "mozilla &"
135 + "Icon Manager" f.showiconmgr