metacity-theme-2.xml
XML 1.0 document, ASCII text
1
<?xml version="1.0"?>
2
<metacity_theme>
3
<info>
4
<name>Materia</name>
5
<author>nana-4</author>
6
<copyright>GPL</copyright>
7
<date>2020</date>
8
<description>Materia Metacity theme</description>
9
</info>
10
11
<!-- meaningful constants -->
12
13
<constant name="C_titlebar_focused" value="#383838"/>
14
<constant name="C_titlebar_unfocused" value="#303030"/>
15
<constant name="C_highlight" value="blend/#383838/#ffffff/0.1"/>
16
<constant name="C_title_focused" value="blend/#383838/#ffffff/1"/>
17
<constant name="C_title_unfocused" value="blend/#303030/#ffffff/0.7"/>
18
19
<!-- geometries -->
20
21
<frame_geometry name="normal" title_scale="medium" rounded_top_left="4" rounded_top_right="4">
22
<distance name="left_width" value="2"/>
23
<distance name="right_width" value="2"/>
24
<distance name="bottom_height" value="2"/>
25
<distance name="left_titlebar_edge" value="0"/>
26
<distance name="right_titlebar_edge" value="0"/>
27
<distance name="title_vertical_pad" value="13"/>
28
<border name="title_border" left="10" right="10" top="0" bottom="0"/>
29
<border name="button_border" left="0" right="0" top="0" bottom="0"/>
30
<aspect_ratio name="button" value="1"/>
31
</frame_geometry>
32
33
<frame_geometry name="max" rounded_top_left="false" rounded_top_right="false" parent="normal">
34
<distance name="left_width" value="0"/>
35
<distance name="right_width" value="0"/>
36
<distance name="bottom_height" value="0"/>
37
</frame_geometry>
38
39
<frame_geometry name="tiled_left" parent="max">
40
<distance name="right_width" value="0"/>
41
</frame_geometry>
42
43
<frame_geometry name="tiled_right" parent="max">
44
<distance name="left_width" value="0"/>
45
</frame_geometry>
46
47
<frame_geometry name="nobuttons" hide_buttons="true" parent="normal">
48
</frame_geometry>
49
50
<frame_geometry name="modal" parent="normal">
51
</frame_geometry>
52
53
<frame_geometry name="small" title_scale="small" parent="normal">
54
<distance name="title_vertical_pad" value="8"/>
55
</frame_geometry>
56
57
<frame_geometry name="border" has_title="false" rounded_top_left="false" rounded_top_right="false" parent="normal">
58
<distance name="left_width" value="2"/>
59
<distance name="right_width" value="2"/>
60
<distance name="bottom_height" value="2"/>
61
<distance name="title_vertical_pad" value="2"/>
62
<border name="title_border" left="10" right="10" top="0" bottom="0"/>
63
<border name="button_border" left="0" right="0" top="0" bottom="0"/>
64
</frame_geometry>
65
66
<frame_geometry name="borderless" has_title="false" rounded_top_left="false" rounded_top_right="false" parent="normal">
67
<distance name="left_width" value="0"/>
68
<distance name="right_width" value="0"/>
69
<distance name="bottom_height" value="0"/>
70
<distance name="title_vertical_pad" value="0"/>
71
<border name="button_border" left="0" right="0" top="0" bottom="0"/>
72
<border name="title_border" left="0" right="0" top="0" bottom="0"/>
73
</frame_geometry>
74
75
<frame_geometry name="attached" hide_buttons="true" rounded_bottom_left="4" rounded_bottom_right="4" parent="normal">
76
<distance name="title_vertical_pad" value="4"/>
77
</frame_geometry>
78
79
<!-- drawing operations -->
80
81
<!-- title -->
82
83
<draw_ops name="title_focused">
84
<title
85
x="(0 `max` ((width - title_width) / 2))"
86
y="(0 `max` ((height - title_height) / 2))"
87
color="C_title_focused"/>
88
</draw_ops>
89
90
<draw_ops name="title_unfocused">
91
<title
92
x="(0 `max` ((width - title_width) / 2))"
93
y="(0 `max` ((height - title_height) / 2))"
94
color="C_title_unfocused"/>
95
</draw_ops>
96
97
<!-- window decorations -->
98
99
<draw_ops name="entire_background_focused">
100
<rectangle color="C_titlebar_focused" x="0" y="0" width="width" height="height" filled="true"/>
101
</draw_ops>
102
103
<draw_ops name="entire_background_unfocused">
104
<rectangle color="C_titlebar_unfocused" x="0" y="0" width="width" height="height" filled="true"/>
105
</draw_ops>
106
107
<draw_ops name="highlight">
108
<line color="C_highlight" x1="4" y1="0" x2="width - 5" y2="0"/>
109
<arc color="C_highlight" x="0 - 1" y="0" width="13" height="13" start_angle="270" extent_angle="90"/>
110
<arc color="C_highlight" x="width - 13" y="0" width="13" height="13" start_angle="0" extent_angle="90"/>
111
</draw_ops>
112
113
<draw_ops name="titlebar_focused">
114
<include name="entire_background_focused"/>
115
<include name="highlight"/>
116
</draw_ops>
117
118
<draw_ops name="titlebar_unfocused">
119
<include name="entire_background_unfocused"/>
120
<include name="highlight"/>
121
</draw_ops>
122
123
<!-- button icons -->
124
125
<!-- close -->
126
127
<draw_ops name="close_focused">
128
<image filename="assets/close.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7" colorize="C_title_focused"/>
129
</draw_ops>
130
131
<draw_ops name="close_focused_prelight">
132
<image filename="assets/close.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="1" colorize="C_title_focused"/>
133
</draw_ops>
134
135
<draw_ops name="close_focused_pressed">
136
<include name="close_focused_prelight"/>
137
</draw_ops>
138
139
<draw_ops name="close_unfocused">
140
<image filename="assets/close.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7" colorize="C_title_unfocused"/>
141
</draw_ops>
142
143
<draw_ops name="close_unfocused_prelight">
144
<image filename="assets/close.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="1" colorize="C_title_unfocused"/>
145
</draw_ops>
146
147
<draw_ops name="close_unfocused_pressed">
148
<include name="close_unfocused_prelight"/>
149
</draw_ops>
150
151
<!-- maximize -->
152
153
<draw_ops name="maximize_focused">
154
<image filename="assets/maximize.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7" colorize="C_title_focused"/>
155
</draw_ops>
156
157
<draw_ops name="maximize_focused_prelight">
158
<image filename="assets/maximize.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="1" colorize="C_title_focused"/>
159
</draw_ops>
160
161
<draw_ops name="maximize_focused_pressed">
162
<include name="maximize_focused_prelight"/>
163
</draw_ops>
164
165
<draw_ops name="maximize_unfocused">
166
<image filename="assets/maximize.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7" colorize="C_title_unfocused"/>
167
</draw_ops>
168
169
<draw_ops name="maximize_unfocused_prelight">
170
<image filename="assets/maximize.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="1" colorize="C_title_unfocused"/>
171
</draw_ops>
172
173
<draw_ops name="maximize_unfocused_pressed">
174
<include name="maximize_unfocused_prelight"/>
175
</draw_ops>
176
177
<!-- unmaximize -->
178
179
<draw_ops name="unmaximize_focused">
180
<image filename="assets/unmaximize.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7" colorize="C_title_focused"/>
181
</draw_ops>
182
183
<draw_ops name="unmaximize_focused_prelight">
184
<image filename="assets/unmaximize.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="1" colorize="C_title_focused"/>
185
</draw_ops>
186
187
<draw_ops name="unmaximize_focused_pressed">
188
<include name="unmaximize_focused_prelight"/>
189
</draw_ops>
190
191
<draw_ops name="unmaximize_unfocused">
192
<image filename="assets/unmaximize.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7" colorize="C_title_unfocused"/>
193
</draw_ops>
194
195
<draw_ops name="unmaximize_unfocused_prelight">
196
<image filename="assets/unmaximize.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="1" colorize="C_title_unfocused"/>
197
</draw_ops>
198
199
<draw_ops name="unmaximize_unfocused_pressed">
200
<include name="unmaximize_unfocused_prelight"/>
201
</draw_ops>
202
203
<!-- minimize -->
204
205
<draw_ops name="minimize_focused">
206
<image filename="assets/minimize.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7" colorize="C_title_focused"/>
207
</draw_ops>
208
209
<draw_ops name="minimize_focused_prelight">
210
<image filename="assets/minimize.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="1" colorize="C_title_focused"/>
211
</draw_ops>
212
213
<draw_ops name="minimize_focused_pressed">
214
<include name="minimize_focused_prelight"/>
215
</draw_ops>
216
217
<draw_ops name="minimize_unfocused">
218
<image filename="assets/minimize.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7" colorize="C_title_unfocused"/>
219
</draw_ops>
220
221
<draw_ops name="minimize_unfocused_prelight">
222
<image filename="assets/minimize.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="1" colorize="C_title_unfocused"/>
223
</draw_ops>
224
225
<draw_ops name="minimize_unfocused_pressed">
226
<include name="minimize_unfocused_prelight"/>
227
</draw_ops>
228
229
<!-- menu -->
230
231
<draw_ops name="menu_focused">
232
<image filename="assets/menu.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7" colorize="C_title_focused"/>
233
</draw_ops>
234
235
<draw_ops name="menu_focused_prelight">
236
<image filename="assets/menu.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="1" colorize="C_title_focused"/>
237
</draw_ops>
238
239
<draw_ops name="menu_focused_pressed">
240
<include name="menu_focused_prelight"/>
241
</draw_ops>
242
243
<draw_ops name="menu_unfocused">
244
<image filename="assets/menu.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7" colorize="C_title_unfocused"/>
245
</draw_ops>
246
247
<draw_ops name="menu_unfocused_prelight">
248
<image filename="assets/menu.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="1" colorize="C_title_unfocused"/>
249
</draw_ops>
250
251
<draw_ops name="menu_unfocused_pressed">
252
<include name="menu_unfocused_prelight"/>
253
</draw_ops>
254
255
<!-- shade -->
256
257
<draw_ops name="shade_focused">
258
<image filename="assets/shade.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7" colorize="C_title_focused"/>
259
</draw_ops>
260
261
<draw_ops name="shade_focused_prelight">
262
<image filename="assets/shade.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="1" colorize="C_title_focused"/>
263
</draw_ops>
264
265
<draw_ops name="shade_focused_pressed">
266
<include name="shade_focused_prelight"/>
267
</draw_ops>
268
269
<draw_ops name="shade_unfocused">
270
<image filename="assets/shade.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7" colorize="C_title_unfocused"/>
271
</draw_ops>
272
273
<draw_ops name="shade_unfocused_prelight">
274
<image filename="assets/shade.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="1" colorize="C_title_unfocused"/>
275
</draw_ops>
276
277
<draw_ops name="shade_unfocused_pressed">
278
<include name="shade_unfocused_prelight"/>
279
</draw_ops>
280
281
<!-- unshade -->
282
283
<draw_ops name="unshade_focused">
284
<image filename="assets/unshade.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7" colorize="C_title_focused"/>
285
</draw_ops>
286
287
<draw_ops name="unshade_focused_prelight">
288
<image filename="assets/unshade.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="1" colorize="C_title_focused"/>
289
</draw_ops>
290
291
<draw_ops name="unshade_focused_pressed">
292
<include name="unshade_focused_prelight"/>
293
</draw_ops>
294
295
<draw_ops name="unshade_unfocused">
296
<image filename="assets/unshade.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7" colorize="C_title_unfocused"/>
297
</draw_ops>
298
299
<draw_ops name="unshade_unfocused_prelight">
300
<image filename="assets/unshade.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="1" colorize="C_title_unfocused"/>
301
</draw_ops>
302
303
<draw_ops name="unshade_unfocused_pressed">
304
<include name="unshade_unfocused_prelight"/>
305
</draw_ops>
306
307
<!-- appmenu -->
308
309
<constant name="D_appmenu_icon_size" value="16"/>
310
311
<draw_ops name="appmenu_icon_focused">
312
<icon
313
x="(width - D_appmenu_icon_size) / 2" y="(height - D_appmenu_icon_size) / 2"
314
width="D_appmenu_icon_size" height="D_appmenu_icon_size"/>
315
</draw_ops>
316
317
<draw_ops name="appmenu_focused">
318
<include name="appmenu_icon_focused"/>
319
</draw_ops>
320
321
<draw_ops name="appmenu_focused_prelight">
322
<include name="appmenu_icon_focused"/>
323
</draw_ops>
324
325
<draw_ops name="appmenu_focused_pressed">
326
<include name="appmenu_icon_focused"/>
327
</draw_ops>
328
329
<draw_ops name="appmenu_icon_unfocused">
330
<icon
331
x="(width - D_appmenu_icon_size) / 2" y="(height - D_appmenu_icon_size) / 2"
332
width="D_appmenu_icon_size" height="D_appmenu_icon_size"
333
alpha="0.7"/>
334
</draw_ops>
335
336
<draw_ops name="appmenu_unfocused">
337
<include name="appmenu_icon_unfocused"/>
338
</draw_ops>
339
340
<draw_ops name="appmenu_unfocused_prelight">
341
<include name="appmenu_icon_unfocused"/>
342
</draw_ops>
343
344
<draw_ops name="appmenu_unfocused_pressed">
345
<include name="appmenu_icon_unfocused"/>
346
</draw_ops>
347
348
<!-- button backgrounds -->
349
350
<draw_ops name="button_focused">
351
</draw_ops>
352
353
<draw_ops name="button_focused_prelight">
354
<image filename="assets/button.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.08" colorize="C_title_focused"/>
355
</draw_ops>
356
357
<draw_ops name="button_focused_pressed">
358
<image filename="assets/button.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.2" colorize="C_title_focused"/>
359
</draw_ops>
360
361
<draw_ops name="button_unfocused">
362
</draw_ops>
363
364
<draw_ops name="button_unfocused_prelight">
365
<image filename="assets/button.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.08" colorize="C_title_unfocused"/>
366
</draw_ops>
367
368
<draw_ops name="button_unfocused_pressed">
369
<image filename="assets/button.svg" x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.2" colorize="C_title_unfocused"/>
370
</draw_ops>
371
372
<!-- frame styles -->
373
374
<frame_style name="normal_focused" geometry="normal">
375
<piece position="entire_background" draw_ops="entire_background_focused"/>
376
<piece position="titlebar" draw_ops="titlebar_focused"/>
377
<piece position="title" draw_ops="title_focused"/>
378
<button function="close" state="normal" draw_ops="close_focused"/>
379
<button function="close" state="prelight" draw_ops="close_focused_prelight"/>
380
<button function="close" state="pressed" draw_ops="close_focused_pressed"/>
381
<button function="maximize" state="normal" draw_ops="maximize_focused"/>
382
<button function="maximize" state="prelight" draw_ops="maximize_focused_prelight"/>
383
<button function="maximize" state="pressed" draw_ops="maximize_focused_pressed"/>
384
<button function="minimize" state="normal" draw_ops="minimize_focused"/>
385
<button function="minimize" state="prelight" draw_ops="minimize_focused_prelight"/>
386
<button function="minimize" state="pressed" draw_ops="minimize_focused_pressed"/>
387
<button function="menu" state="normal" draw_ops="menu_focused"/>
388
<button function="menu" state="prelight" draw_ops="menu_focused_prelight"/>
389
<button function="menu" state="pressed" draw_ops="menu_focused_pressed"/>
390
<button function="shade" state="normal" draw_ops="shade_focused"/>
391
<button function="shade" state="prelight" draw_ops="shade_focused_prelight"/>
392
<button function="shade" state="pressed" draw_ops="shade_focused_pressed"/>
393
<button function="unshade" state="normal" draw_ops="unshade_focused"/>
394
<button function="unshade" state="prelight" draw_ops="unshade_focused_prelight"/>
395
<button function="unshade" state="pressed" draw_ops="unshade_focused_pressed"/>
396
397
<button function="left_middle_background" state="normal" draw_ops="button_focused"/>
398
<button function="left_middle_background" state="prelight" draw_ops="button_focused_prelight"/>
399
<button function="left_middle_background" state="pressed" draw_ops="button_focused_pressed"/>
400
<button function="right_middle_background" state="normal" draw_ops="button_focused"/>
401
<button function="right_middle_background" state="prelight" draw_ops="button_focused_prelight"/>
402
<button function="right_middle_background" state="pressed" draw_ops="button_focused_pressed"/>
403
404
<button function="above" state="normal"><draw_ops></draw_ops></button>
405
<button function="above" state="pressed"><draw_ops></draw_ops></button>
406
<button function="unabove" state="normal"><draw_ops></draw_ops></button>
407
<button function="unabove" state="pressed"><draw_ops></draw_ops></button>
408
<button function="stick" state="normal"><draw_ops></draw_ops></button>
409
<button function="stick" state="pressed"><draw_ops></draw_ops></button>
410
<button function="unstick" state="normal"><draw_ops></draw_ops></button>
411
<button function="unstick" state="pressed"><draw_ops></draw_ops></button>
412
</frame_style>
413
414
<frame_style name="normal_unfocused" geometry="normal">
415
<piece position="entire_background" draw_ops="entire_background_unfocused"/>
416
<piece position="titlebar" draw_ops="titlebar_unfocused"/>
417
<piece position="title" draw_ops="title_unfocused"/>
418
<button function="close" state="normal" draw_ops="close_unfocused"/>
419
<button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
420
<button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
421
<button function="maximize" state="normal" draw_ops="maximize_unfocused"/>
422
<button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/>
423
<button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/>
424
<button function="minimize" state="normal" draw_ops="minimize_unfocused"/>
425
<button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/>
426
<button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/>
427
<button function="menu" state="normal" draw_ops="menu_unfocused"/>
428
<button function="menu" state="prelight" draw_ops="menu_unfocused_prelight"/>
429
<button function="menu" state="pressed" draw_ops="menu_unfocused_pressed"/>
430
<button function="shade" state="normal" draw_ops="shade_unfocused"/>
431
<button function="shade" state="prelight" draw_ops="shade_unfocused_prelight"/>
432
<button function="shade" state="pressed" draw_ops="shade_unfocused_pressed"/>
433
<button function="unshade" state="normal" draw_ops="unshade_unfocused"/>
434
<button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight"/>
435
<button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed"/>
436
437
<button function="left_middle_background" state="normal" draw_ops="button_unfocused"/>
438
<button function="left_middle_background" state="prelight" draw_ops="button_unfocused_prelight"/>
439
<button function="left_middle_background" state="pressed" draw_ops="button_unfocused_pressed"/>
440
<button function="right_middle_background" state="normal" draw_ops="button_unfocused"/>
441
<button function="right_middle_background" state="prelight" draw_ops="button_unfocused_prelight"/>
442
<button function="right_middle_background" state="pressed" draw_ops="button_unfocused_pressed"/>
443
444
<button function="above" state="normal"><draw_ops></draw_ops></button>
445
<button function="above" state="pressed"><draw_ops></draw_ops></button>
446
<button function="unabove" state="normal"><draw_ops></draw_ops></button>
447
<button function="unabove" state="pressed"><draw_ops></draw_ops></button>
448
<button function="stick" state="normal"><draw_ops></draw_ops></button>
449
<button function="stick" state="pressed"><draw_ops></draw_ops></button>
450
<button function="unstick" state="normal"><draw_ops></draw_ops></button>
451
<button function="unstick" state="pressed"><draw_ops></draw_ops></button>
452
</frame_style>
453
454
<frame_style name="normal_max_focused" geometry="max" parent="normal_focused">
455
<piece position="titlebar" draw_ops="entire_background_focused"/>
456
<button function="maximize" state="normal" draw_ops="unmaximize_focused"/>
457
<button function="maximize" state="pressed" draw_ops="unmaximize_focused_pressed"/>
458
<button function="maximize" state="prelight" draw_ops="unmaximize_focused_prelight"/>
459
</frame_style>
460
461
<frame_style name="normal_max_unfocused" geometry="max" parent="normal_unfocused">
462
<piece position="titlebar" draw_ops="entire_background_unfocused"/>
463
<button function="maximize" state="normal" draw_ops="unmaximize_unfocused"/>
464
<button function="maximize" state="pressed" draw_ops="unmaximize_unfocused_pressed"/>
465
<button function="maximize" state="prelight" draw_ops="unmaximize_unfocused_prelight"/>
466
</frame_style>
467
468
<frame_style name="tiled_left_focused" geometry="tiled_left" parent="normal_focused">
469
<piece position="titlebar" draw_ops="entire_background_focused"/>
470
</frame_style>
471
472
<frame_style name="tiled_left_unfocused" geometry="tiled_left" parent="normal_unfocused">
473
<piece position="titlebar" draw_ops="entire_background_unfocused"/>
474
</frame_style>
475
476
<frame_style name="tiled_right_focused" geometry="tiled_right" parent="normal_focused">
477
<piece position="titlebar" draw_ops="entire_background_focused"/>
478
</frame_style>
479
480
<frame_style name="tiled_right_unfocused" geometry="tiled_right" parent="normal_unfocused">
481
<piece position="titlebar" draw_ops="entire_background_unfocused"/>
482
</frame_style>
483
484
<frame_style name="dialog_focused" geometry="nobuttons" parent="normal_focused">
485
</frame_style>
486
487
<frame_style name="dialog_unfocused" geometry="nobuttons" parent="normal_unfocused">
488
</frame_style>
489
490
<frame_style name="modal_dialog_focused" geometry="modal" parent="normal_focused">
491
</frame_style>
492
493
<frame_style name="modal_dialog_unfocused" geometry="modal" parent="normal_unfocused">
494
</frame_style>
495
496
<frame_style name="utility_focused" geometry="small" parent="normal_focused">
497
</frame_style>
498
499
<frame_style name="utility_unfocused" geometry="small" parent="normal_unfocused">
500
</frame_style>
501
502
<frame_style name="border_focused" geometry="border" parent="normal_focused">
503
</frame_style>
504
505
<frame_style name="border_unfocused" geometry="border" parent="normal_unfocused">
506
</frame_style>
507
508
<frame_style name="borderless_focused" geometry="borderless" parent="normal_focused">
509
</frame_style>
510
511
<frame_style name="borderless_unfocused" geometry="borderless" parent="normal_unfocused">
512
</frame_style>
513
514
<frame_style name="attached_focused" geometry="attached" parent="modal_dialog_focused">
515
</frame_style>
516
517
<frame_style name="attached_unfocused" geometry="attached" parent="modal_dialog_unfocused">
518
</frame_style>
519
520
<!-- placeholder for unimplementated styles-->
521
522
<frame_style name="blank" geometry="normal">
523
<button function="close" state="normal"><draw_ops></draw_ops></button>
524
<button function="close" state="pressed"><draw_ops></draw_ops></button>
525
<button function="maximize" state="normal"><draw_ops></draw_ops></button>
526
<button function="maximize" state="pressed"><draw_ops></draw_ops></button>
527
<button function="minimize" state="normal"><draw_ops></draw_ops></button>
528
<button function="minimize" state="pressed"><draw_ops></draw_ops></button>
529
<button function="menu" state="normal"><draw_ops></draw_ops></button>
530
<button function="menu" state="pressed"><draw_ops></draw_ops></button>
531
<button function="shade" state="normal"><draw_ops></draw_ops></button>
532
<button function="shade" state="pressed"><draw_ops></draw_ops></button>
533
<button function="unshade" state="normal"><draw_ops></draw_ops></button>
534
<button function="unshade" state="pressed"><draw_ops></draw_ops></button>
535
<button function="above" state="normal"><draw_ops></draw_ops></button>
536
<button function="above" state="pressed"><draw_ops></draw_ops></button>
537
<button function="unabove" state="normal"><draw_ops></draw_ops></button>
538
<button function="unabove" state="pressed"><draw_ops></draw_ops></button>
539
<button function="stick" state="normal"><draw_ops></draw_ops></button>
540
<button function="stick" state="pressed"><draw_ops></draw_ops></button>
541
<button function="unstick" state="normal"><draw_ops></draw_ops></button>
542
<button function="unstick" state="pressed"><draw_ops></draw_ops></button>
543
</frame_style>
544
545
<!-- frame style sets -->
546
547
<frame_style_set name="normal_style_set">
548
<frame focus="yes" state="normal" resize="both" style="normal_focused"/>
549
<frame focus="no" state="normal" resize="both" style="normal_unfocused"/>
550
<frame focus="yes" state="maximized" style="normal_max_focused"/>
551
<frame focus="no" state="maximized" style="normal_max_unfocused"/>
552
<frame focus="yes" state="shaded" style="normal_focused"/>
553
<frame focus="no" state="shaded" style="normal_unfocused"/>
554
<frame focus="yes" state="maximized_and_shaded" style="normal_max_focused"/>
555
<frame focus="no" state="maximized_and_shaded" style="normal_max_unfocused"/>
556
</frame_style_set>
557
558
<frame_style_set name="dialog_style_set">
559
<frame focus="yes" state="normal" resize="both" style="dialog_focused"/>
560
<frame focus="no" state="normal" resize="both" style="dialog_unfocused"/>
561
<frame focus="yes" state="maximized" style="blank"/>
562
<frame focus="no" state="maximized" style="blank"/>
563
<frame focus="yes" state="shaded" style="dialog_focused"/>
564
<frame focus="no" state="shaded" style="dialog_unfocused"/>
565
<frame focus="yes" state="maximized_and_shaded" style="blank"/>
566
<frame focus="no" state="maximized_and_shaded" style="blank"/>
567
</frame_style_set>
568
569
<frame_style_set name="modal_dialog_style_set">
570
<frame focus="yes" state="normal" resize="both" style="modal_dialog_focused"/>
571
<frame focus="no" state="normal" resize="both" style="modal_dialog_unfocused"/>
572
<frame focus="yes" state="maximized" style="blank"/>
573
<frame focus="no" state="maximized" style="blank"/>
574
<frame focus="yes" state="shaded" style="modal_dialog_focused"/>
575
<frame focus="no" state="shaded" style="modal_dialog_unfocused"/>
576
<frame focus="yes" state="maximized_and_shaded" style="blank"/>
577
<frame focus="no" state="maximized_and_shaded" style="blank"/>
578
</frame_style_set>
579
580
<frame_style_set name="utility_style_set">
581
<frame focus="yes" state="normal" resize="both" style="utility_focused"/>
582
<frame focus="no" state="normal" resize="both" style="utility_unfocused"/>
583
<frame focus="yes" state="maximized" style="blank"/>
584
<frame focus="no" state="maximized" style="blank"/>
585
<frame focus="yes" state="shaded" style="utility_focused"/>
586
<frame focus="no" state="shaded" style="utility_unfocused"/>
587
<frame focus="yes" state="maximized_and_shaded" style="blank"/>
588
<frame focus="no" state="maximized_and_shaded" style="blank"/>
589
</frame_style_set>
590
591
<frame_style_set name="border_style_set">
592
<frame focus="yes" state="normal" resize="both" style="border_focused"/>
593
<frame focus="no" state="normal" resize="both" style="border_unfocused"/>
594
<frame focus="yes" state="maximized" style="borderless_focused"/>
595
<frame focus="no" state="maximized" style="borderless_unfocused"/>
596
<frame focus="yes" state="shaded" style="blank"/>
597
<frame focus="no" state="shaded" style="blank"/>
598
<frame focus="yes" state="maximized_and_shaded" style="blank"/>
599
<frame focus="no" state="maximized_and_shaded" style="blank"/>
600
</frame_style_set>
601
602
<frame_style_set name="attached_style_set">
603
<frame focus="yes" state="normal" resize="both" style="attached_focused"/>
604
<frame focus="no" state="normal" resize="both" style="attached_unfocused"/>
605
<frame focus="yes" state="maximized" style="blank"/>
606
<frame focus="no" state="maximized" style="blank"/>
607
<frame focus="yes" state="shaded" style="blank"/>
608
<frame focus="no" state="shaded" style="blank"/>
609
<frame focus="yes" state="maximized_and_shaded" style="blank"/>
610
<frame focus="no" state="maximized_and_shaded" style="blank"/>
611
</frame_style_set>
612
613
<!-- windows -->
614
615
<window type="normal" style_set="normal_style_set"/>
616
<window type="dialog" style_set="dialog_style_set"/>
617
<window type="modal_dialog" style_set="modal_dialog_style_set"/>
618
<window type="menu" style_set="utility_style_set"/>
619
<window type="utility" style_set="utility_style_set"/>
620
<window type="border" style_set="border_style_set"/>
621
622
</metacity_theme>
623