chiark / gitweb /
debian/changelog: start -4~
[vtwm.git] / system.vtwmrc.2D
1 #
2 # system.vtwmrc.2D
3
4 # Default VTWM configuration file; should 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,
8 # etc., that may be appropriate for their environment.  For example, if most
9 # of the users were accustomed to uwm, the defaults could be set up not to
10 # decorate any windows and to use meta-keys.
11 #
12
13 #
14 # Variables
15 #
16
17 NoGrabServer
18 RestartPreviousState
19 NoDefaults
20
21 ShowIconManager
22 SortIconManager
23 IconifyByUnmapping
24
25 RightHandSidePulldownMenus
26
27 NaturalAutoPanBehavior
28 NotVirtualGeometries
29 FixManagedVirtualGeometries
30 FixTransientVirtualGeometries
31
32 MoveDelta                       3
33
34 ResizeRegion                    "NorthEast"
35
36 FramePadding                    2
37 ButtonIndent                    0
38 TitlePadding                    5
39 TitleButtonBorderWidth          1
40
41 VirtualDesktop                  "5x2-0-0" 16
42 PanDistanceX                    100
43 PanDistanceY                    100
44 PanResistance                   750
45 AutoPan                         100
46
47 TitleFont               "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
48 ResizeFont              "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
49 MenuFont                "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
50 MenuTitleFont           "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
51 DoorFont                "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
52 IconFont                "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
53 InfoFont                "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
54 IconManagerFont         "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
55 VirtualDesktopFont      "-adobe-helvetica-medium-r-normal--*-75-*-*-*-*-*-*"
56
57 #
58 # Lists
59 #
60
61 SqueezeTitle
62
63 WarpCursor
64
65 NailedDown
66 {
67         "VTWM *"
68         "xclock"
69         "xload"
70 }
71
72 NoTitle
73 {
74         "VTWM *"
75         "xclock"
76         "xload"
77 }
78
79 DontShowInDisplay
80 {
81         "VTWM *"
82         "xclock"
83         "xload"
84 }
85
86 IconManagerDontShow
87 {
88         "VTWM *"
89         "xclock"
90         "xload"
91 }
92
93 Pixmaps
94 {
95         "MenuIconPixmap"        ":rarrow"
96 }
97
98 Color
99 {
100         DefaultBackground               "maroon"
101         DefaultForeground               "gray85"
102         BorderColor                     "grey70"
103         BorderTileBackground            "gray60"
104         BorderTileForeground            "gray60"
105         DoorBackground                  "maroon"
106         DoorForeground                  "gray85"
107         TitleBackground                 "maroon"
108         TitleForeground                 "gray85"
109         MenuBackground                  "maroon"
110         MenuForeground                  "gray85"
111         MenuTitleBackground             "gray70"
112         MenuTitleForeground             "maroon"
113         IconBackground                  "maroon"
114         IconForeground                  "gray85"
115         IconBorderColor                 "gray85"
116         IconManagerBackground           "maroon"
117         IconManagerForeground           "gray85"
118         VirtualBackground               "maroon"
119         VirtualForeground               "black"
120         DesktopDisplayBackground        "grey60"
121         DesktopDisplayForeground        "grey85"
122 }
123
124 Monochrome
125 {
126         DefaultBackground               "gray50"
127         DefaultForeground               "gray85"
128         BorderColor                     "grey70"
129         BorderTileBackground            "gray60"
130         BorderTileForeground            "gray60"
131         DoorBackground                  "gray50"
132         DoorForeground                  "gray85"
133         TitleBackground                 "gray50"
134         TitleForeground                 "gray85"
135         MenuBackground                  "gray50"
136         MenuForeground                  "gray85"
137         MenuTitleBackground             "gray70"
138         MenuTitleForeground             "gray50"
139         IconBackground                  "gray50"
140         IconForeground                  "gray85"
141         IconBorderColor                 "gray85"
142         IconManagerBackground           "gray50"
143         IconManagerForeground           "gray85"
144         VirtualBackground               "gray50"
145         VirtualForeground               "black"
146         DesktopDisplayBackground        "grey60"
147         DesktopDisplayForeground        "grey85"
148 }
149
150 #
151 # Functions and Bindings
152 #
153
154 Function "move-or-iconify" { f.move f.deltastop f.iconify }
155
156 LeftTitleButton ":darrow" = f.menu "arrange"
157 RightTitleButton ":dot" = f.iconify
158 RightTitleButton ":resize" = f.resize
159
160 Button1 = : root : f.version
161 Button3 = : root : f.menu "main"
162
163 Button1 = : title : f.move
164 Button2 = : title : f.resize
165 Button3 = : title : f.raiselower
166
167 Button1 = : frame : f.move
168 Button2 = : frame : f.resize
169 Button3 = : frame : f.iconify
170
171 Button1 = : door : f.enterdoor
172 Button2 = : door : f.namedoor
173 Button3 = : door : f.deletedoor
174
175 Button1 = : icon : f.function "move-or-iconify"
176 Button3 = : icon : f.menu "arrange"
177
178 Button1 = : iconmgr : f.iconify
179 Button3 = : iconmgr : f.warp
180
181 Button1 = : virtual | desktop : f.movescreen
182
183 #
184 # Menus
185 #
186
187 menu "main"
188 {
189         "  VTWM  "              f.title
190         "Applications"          f.menu "apps"
191         ""                      f.separator
192         "Operations"            f.menu "ops"
193         "Arrange"               f.menu "arrange"
194         ""                      f.separator
195         "Restart"               f.restart
196         "Exit"                  f.quit
197 }
198
199 menu "apps"
200 {
201         "  Applications  "      f.title
202         "xclock"                f.exec "xclock &"
203         "xload"                 f.exec "xload &"
204         "xterm"                 f.exec "xterm &"
205 }
206
207 menu "ops"
208 {
209         "  Operations  "        f.title
210         "Auto Pan"              f.autopan
211         "New Door"              f.newdoor
212         "Snap Screen"           f.snaprealscreen
213         "Static Icons"          f.staticiconpositions
214         "Warp Snug"             f.warpsnug
215         "Warp Visible"          f.warpvisible
216         ""                      f.separator
217         "Show Icon Mgr"         f.showiconmgr
218         "Hide Icon Mgr"         f.hideiconmgr
219         "Show Desktop"          f.showdesktopdisplay
220         "Hide Desktop"          f.hidedesktopdisplay
221         ""                      f.separator
222         "Refresh"               f.refresh
223 }
224
225 menu "arrange"
226 {
227         "  Arrange  "           f.title
228         "Autoraise"             f.autoraise
229         "Raise"                 f.raise
230         "Lower"                 f.lower
231         "Nail"                  f.nail
232         ""                      f.separator
233         "Move"                  f.move
234         "Size"                  f.resize
235         "Iconify"               f.iconify
236         ""                      f.separator
237         "Full Zoom"             f.fullzoom
238         "Horiz Zoom"            f.horizoom
239         "Vert Zoom"             f.zoom
240         ""                      f.separator
241         "Left Title"            f.squeezeleft
242         "Center Title"          f.squeezecenter
243         "Right Title"           f.squeezeright
244         ""                      f.separator
245         "Identify"              f.identify
246         ""                      f.separator
247         "Delete"                f.delete
248         "Destroy"               f.destroy
249 }
250