A fork of the Materia GTK theme.

Important information: Google announced that, from September 2026, Android devices will require ALL apps to be signed by Google, effectively leading to an iOS situation. Value your right to a computer that does what you want; do not tolerate this monopolistic practice! Contact me if you don't understand why it is bad. Click to learn more.

 metacity-theme-2-light.xml

View raw Download
text/xml • 25.74 kiB
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="#e0e0e0"/>
14
<constant name="C_titlebar_unfocused" value="#d6d6d6"/>
15
<constant name="C_highlight" value="blend/#e0e0e0/#ffffff/0.4"/>
16
<constant name="C_title_focused" value="blend/#e0e0e0/#000000/0.87"/>
17
<constant name="C_title_unfocused" value="blend/#d6d6d6/#000000/0.6"/>
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
<include name="close_focused"/>
133
</draw_ops>
134
135
<draw_ops name="close_focused_pressed">
136
<include name="close_focused"/>
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
<include name="close_unfocused"/>
145
</draw_ops>
146
147
<draw_ops name="close_unfocused_pressed">
148
<include name="close_unfocused"/>
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
<include name="maximize_focused"/>
159
</draw_ops>
160
161
<draw_ops name="maximize_focused_pressed">
162
<include name="maximize_focused"/>
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
<include name="maximize_unfocused"/>
171
</draw_ops>
172
173
<draw_ops name="maximize_unfocused_pressed">
174
<include name="maximize_unfocused"/>
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
<include name="unmaximize_focused"/>
185
</draw_ops>
186
187
<draw_ops name="unmaximize_focused_pressed">
188
<include name="unmaximize_focused"/>
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
<include name="unmaximize_unfocused"/>
197
</draw_ops>
198
199
<draw_ops name="unmaximize_unfocused_pressed">
200
<include name="unmaximize_unfocused"/>
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
<include name="minimize_focused"/>
211
</draw_ops>
212
213
<draw_ops name="minimize_focused_pressed">
214
<include name="minimize_focused"/>
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
<include name="minimize_unfocused"/>
223
</draw_ops>
224
225
<draw_ops name="minimize_unfocused_pressed">
226
<include name="minimize_unfocused"/>
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
<include name="menu_focused"/>
237
</draw_ops>
238
239
<draw_ops name="menu_focused_pressed">
240
<include name="menu_focused"/>
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
<include name="menu_unfocused"/>
249
</draw_ops>
250
251
<draw_ops name="menu_unfocused_pressed">
252
<include name="menu_unfocused"/>
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
<include name="shade_focused"/>
263
</draw_ops>
264
265
<draw_ops name="shade_focused_pressed">
266
<include name="shade_focused"/>
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
<include name="shade_unfocused"/>
275
</draw_ops>
276
277
<draw_ops name="shade_unfocused_pressed">
278
<include name="shade_unfocused"/>
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
<include name="unshade_focused"/>
289
</draw_ops>
290
291
<draw_ops name="unshade_focused_pressed">
292
<include name="unshade_focused"/>
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
<include name="unshade_unfocused"/>
301
</draw_ops>
302
303
<draw_ops name="unshade_unfocused_pressed">
304
<include name="unshade_unfocused"/>
305
</draw_ops>
306
307
<!-- appmenu -->
308
309
<constant name="D_appmenu_icon_size" value="16"/>
310
311
<draw_ops name="appmenu_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_prelight">
318
<include name="appmenu_focused"/>
319
</draw_ops>
320
321
<draw_ops name="appmenu_focused_pressed">
322
<include name="appmenu_focused"/>
323
</draw_ops>
324
325
<draw_ops name="appmenu_unfocused">
326
<icon
327
x="(width - D_appmenu_icon_size) / 2" y="(height - D_appmenu_icon_size) / 2"
328
width="D_appmenu_icon_size" height="D_appmenu_icon_size"
329
alpha="0.7"/>
330
</draw_ops>
331
332
<draw_ops name="appmenu_unfocused_prelight">
333
<include name="appmenu_unfocused"/>
334
</draw_ops>
335
336
<draw_ops name="appmenu_unfocused_pressed">
337
<include name="appmenu_unfocused"/>
338
</draw_ops>
339
340
<!-- button backgrounds -->
341
342
<draw_ops name="button_focused">
343
</draw_ops>
344
345
<draw_ops name="button_focused_prelight">
346
<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"/>
347
</draw_ops>
348
349
<draw_ops name="button_focused_pressed">
350
<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"/>
351
</draw_ops>
352
353
<draw_ops name="button_unfocused">
354
</draw_ops>
355
356
<draw_ops name="button_unfocused_prelight">
357
<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"/>
358
</draw_ops>
359
360
<draw_ops name="button_unfocused_pressed">
361
<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"/>
362
</draw_ops>
363
364
<!-- frame styles -->
365
366
<frame_style name="normal_focused" geometry="normal">
367
<piece position="entire_background" draw_ops="entire_background_focused"/>
368
<piece position="titlebar" draw_ops="titlebar_focused"/>
369
<piece position="title" draw_ops="title_focused"/>
370
<button function="close" state="normal" draw_ops="close_focused"/>
371
<button function="close" state="prelight" draw_ops="close_focused_prelight"/>
372
<button function="close" state="pressed" draw_ops="close_focused_pressed"/>
373
<button function="maximize" state="normal" draw_ops="maximize_focused"/>
374
<button function="maximize" state="prelight" draw_ops="maximize_focused_prelight"/>
375
<button function="maximize" state="pressed" draw_ops="maximize_focused_pressed"/>
376
<button function="minimize" state="normal" draw_ops="minimize_focused"/>
377
<button function="minimize" state="prelight" draw_ops="minimize_focused_prelight"/>
378
<button function="minimize" state="pressed" draw_ops="minimize_focused_pressed"/>
379
<button function="menu" state="normal" draw_ops="menu_focused"/>
380
<button function="menu" state="prelight" draw_ops="menu_focused_prelight"/>
381
<button function="menu" state="pressed" draw_ops="menu_focused_pressed"/>
382
<button function="shade" state="normal" draw_ops="shade_focused"/>
383
<button function="shade" state="prelight" draw_ops="shade_focused_prelight"/>
384
<button function="shade" state="pressed" draw_ops="shade_focused_pressed"/>
385
<button function="unshade" state="normal" draw_ops="unshade_focused"/>
386
<button function="unshade" state="prelight" draw_ops="unshade_focused_prelight"/>
387
<button function="unshade" state="pressed" draw_ops="unshade_focused_pressed"/>
388
389
<button function="left_middle_background" state="normal" draw_ops="button_focused"/>
390
<button function="left_middle_background" state="prelight" draw_ops="button_focused_prelight"/>
391
<button function="left_middle_background" state="pressed" draw_ops="button_focused_pressed"/>
392
<button function="right_middle_background" state="normal" draw_ops="button_focused"/>
393
<button function="right_middle_background" state="prelight" draw_ops="button_focused_prelight"/>
394
<button function="right_middle_background" state="pressed" draw_ops="button_focused_pressed"/>
395
396
<button function="above" state="normal"><draw_ops></draw_ops></button>
397
<button function="above" state="pressed"><draw_ops></draw_ops></button>
398
<button function="unabove" state="normal"><draw_ops></draw_ops></button>
399
<button function="unabove" state="pressed"><draw_ops></draw_ops></button>
400
<button function="stick" state="normal"><draw_ops></draw_ops></button>
401
<button function="stick" state="pressed"><draw_ops></draw_ops></button>
402
<button function="unstick" state="normal"><draw_ops></draw_ops></button>
403
<button function="unstick" state="pressed"><draw_ops></draw_ops></button>
404
</frame_style>
405
406
<frame_style name="normal_unfocused" geometry="normal">
407
<piece position="entire_background" draw_ops="entire_background_unfocused"/>
408
<piece position="titlebar" draw_ops="titlebar_unfocused"/>
409
<piece position="title" draw_ops="title_unfocused"/>
410
<button function="close" state="normal" draw_ops="close_unfocused"/>
411
<button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
412
<button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
413
<button function="maximize" state="normal" draw_ops="maximize_unfocused"/>
414
<button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/>
415
<button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/>
416
<button function="minimize" state="normal" draw_ops="minimize_unfocused"/>
417
<button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/>
418
<button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/>
419
<button function="menu" state="normal" draw_ops="menu_unfocused"/>
420
<button function="menu" state="prelight" draw_ops="menu_unfocused_prelight"/>
421
<button function="menu" state="pressed" draw_ops="menu_unfocused_pressed"/>
422
<button function="shade" state="normal" draw_ops="shade_unfocused"/>
423
<button function="shade" state="prelight" draw_ops="shade_unfocused_prelight"/>
424
<button function="shade" state="pressed" draw_ops="shade_unfocused_pressed"/>
425
<button function="unshade" state="normal" draw_ops="unshade_unfocused"/>
426
<button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight"/>
427
<button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed"/>
428
429
<button function="left_middle_background" state="normal" draw_ops="button_unfocused"/>
430
<button function="left_middle_background" state="prelight" draw_ops="button_unfocused_prelight"/>
431
<button function="left_middle_background" state="pressed" draw_ops="button_unfocused_pressed"/>
432
<button function="right_middle_background" state="normal" draw_ops="button_unfocused"/>
433
<button function="right_middle_background" state="prelight" draw_ops="button_unfocused_prelight"/>
434
<button function="right_middle_background" state="pressed" draw_ops="button_unfocused_pressed"/>
435
436
<button function="above" state="normal"><draw_ops></draw_ops></button>
437
<button function="above" state="pressed"><draw_ops></draw_ops></button>
438
<button function="unabove" state="normal"><draw_ops></draw_ops></button>
439
<button function="unabove" state="pressed"><draw_ops></draw_ops></button>
440
<button function="stick" state="normal"><draw_ops></draw_ops></button>
441
<button function="stick" state="pressed"><draw_ops></draw_ops></button>
442
<button function="unstick" state="normal"><draw_ops></draw_ops></button>
443
<button function="unstick" state="pressed"><draw_ops></draw_ops></button>
444
</frame_style>
445
446
<frame_style name="normal_max_focused" geometry="max" parent="normal_focused">
447
<piece position="titlebar" draw_ops="entire_background_focused"/>
448
<button function="maximize" state="normal" draw_ops="unmaximize_focused"/>
449
<button function="maximize" state="pressed" draw_ops="unmaximize_focused_pressed"/>
450
<button function="maximize" state="prelight" draw_ops="unmaximize_focused_prelight"/>
451
</frame_style>
452
453
<frame_style name="normal_max_unfocused" geometry="max" parent="normal_unfocused">
454
<piece position="titlebar" draw_ops="entire_background_unfocused"/>
455
<button function="maximize" state="normal" draw_ops="unmaximize_unfocused"/>
456
<button function="maximize" state="pressed" draw_ops="unmaximize_unfocused_pressed"/>
457
<button function="maximize" state="prelight" draw_ops="unmaximize_unfocused_prelight"/>
458
</frame_style>
459
460
<frame_style name="tiled_left_focused" geometry="tiled_left" parent="normal_focused">
461
<piece position="titlebar" draw_ops="entire_background_focused"/>
462
</frame_style>
463
464
<frame_style name="tiled_left_unfocused" geometry="tiled_left" parent="normal_unfocused">
465
<piece position="titlebar" draw_ops="entire_background_unfocused"/>
466
</frame_style>
467
468
<frame_style name="tiled_right_focused" geometry="tiled_right" parent="normal_focused">
469
<piece position="titlebar" draw_ops="entire_background_focused"/>
470
</frame_style>
471
472
<frame_style name="tiled_right_unfocused" geometry="tiled_right" parent="normal_unfocused">
473
<piece position="titlebar" draw_ops="entire_background_unfocused"/>
474
</frame_style>
475
476
<frame_style name="dialog_focused" geometry="nobuttons" parent="normal_focused">
477
</frame_style>
478
479
<frame_style name="dialog_unfocused" geometry="nobuttons" parent="normal_unfocused">
480
</frame_style>
481
482
<frame_style name="modal_dialog_focused" geometry="modal" parent="normal_focused">
483
</frame_style>
484
485
<frame_style name="modal_dialog_unfocused" geometry="modal" parent="normal_unfocused">
486
</frame_style>
487
488
<frame_style name="utility_focused" geometry="small" parent="normal_focused">
489
</frame_style>
490
491
<frame_style name="utility_unfocused" geometry="small" parent="normal_unfocused">
492
</frame_style>
493
494
<frame_style name="border_focused" geometry="border" parent="normal_focused">
495
</frame_style>
496
497
<frame_style name="border_unfocused" geometry="border" parent="normal_unfocused">
498
</frame_style>
499
500
<frame_style name="borderless_focused" geometry="borderless" parent="normal_focused">
501
</frame_style>
502
503
<frame_style name="borderless_unfocused" geometry="borderless" parent="normal_unfocused">
504
</frame_style>
505
506
<frame_style name="attached_focused" geometry="attached" parent="modal_dialog_focused">
507
</frame_style>
508
509
<frame_style name="attached_unfocused" geometry="attached" parent="modal_dialog_unfocused">
510
</frame_style>
511
512
<!-- placeholder for unimplementated styles-->
513
514
<frame_style name="blank" geometry="normal">
515
<button function="close" state="normal"><draw_ops></draw_ops></button>
516
<button function="close" state="pressed"><draw_ops></draw_ops></button>
517
<button function="maximize" state="normal"><draw_ops></draw_ops></button>
518
<button function="maximize" state="pressed"><draw_ops></draw_ops></button>
519
<button function="minimize" state="normal"><draw_ops></draw_ops></button>
520
<button function="minimize" state="pressed"><draw_ops></draw_ops></button>
521
<button function="menu" state="normal"><draw_ops></draw_ops></button>
522
<button function="menu" state="pressed"><draw_ops></draw_ops></button>
523
<button function="shade" state="normal"><draw_ops></draw_ops></button>
524
<button function="shade" state="pressed"><draw_ops></draw_ops></button>
525
<button function="unshade" state="normal"><draw_ops></draw_ops></button>
526
<button function="unshade" state="pressed"><draw_ops></draw_ops></button>
527
<button function="above" state="normal"><draw_ops></draw_ops></button>
528
<button function="above" state="pressed"><draw_ops></draw_ops></button>
529
<button function="unabove" state="normal"><draw_ops></draw_ops></button>
530
<button function="unabove" state="pressed"><draw_ops></draw_ops></button>
531
<button function="stick" state="normal"><draw_ops></draw_ops></button>
532
<button function="stick" state="pressed"><draw_ops></draw_ops></button>
533
<button function="unstick" state="normal"><draw_ops></draw_ops></button>
534
<button function="unstick" state="pressed"><draw_ops></draw_ops></button>
535
</frame_style>
536
537
<!-- frame style sets -->
538
539
<frame_style_set name="normal_style_set">
540
<frame focus="yes" state="normal" resize="both" style="normal_focused"/>
541
<frame focus="no" state="normal" resize="both" style="normal_unfocused"/>
542
<frame focus="yes" state="maximized" style="normal_max_focused"/>
543
<frame focus="no" state="maximized" style="normal_max_unfocused"/>
544
<frame focus="yes" state="shaded" style="normal_focused"/>
545
<frame focus="no" state="shaded" style="normal_unfocused"/>
546
<frame focus="yes" state="maximized_and_shaded" style="normal_max_focused"/>
547
<frame focus="no" state="maximized_and_shaded" style="normal_max_unfocused"/>
548
</frame_style_set>
549
550
<frame_style_set name="dialog_style_set">
551
<frame focus="yes" state="normal" resize="both" style="dialog_focused"/>
552
<frame focus="no" state="normal" resize="both" style="dialog_unfocused"/>
553
<frame focus="yes" state="maximized" style="blank"/>
554
<frame focus="no" state="maximized" style="blank"/>
555
<frame focus="yes" state="shaded" style="dialog_focused"/>
556
<frame focus="no" state="shaded" style="dialog_unfocused"/>
557
<frame focus="yes" state="maximized_and_shaded" style="blank"/>
558
<frame focus="no" state="maximized_and_shaded" style="blank"/>
559
</frame_style_set>
560
561
<frame_style_set name="modal_dialog_style_set">
562
<frame focus="yes" state="normal" resize="both" style="modal_dialog_focused"/>
563
<frame focus="no" state="normal" resize="both" style="modal_dialog_unfocused"/>
564
<frame focus="yes" state="maximized" style="blank"/>
565
<frame focus="no" state="maximized" style="blank"/>
566
<frame focus="yes" state="shaded" style="modal_dialog_focused"/>
567
<frame focus="no" state="shaded" style="modal_dialog_unfocused"/>
568
<frame focus="yes" state="maximized_and_shaded" style="blank"/>
569
<frame focus="no" state="maximized_and_shaded" style="blank"/>
570
</frame_style_set>
571
572
<frame_style_set name="utility_style_set">
573
<frame focus="yes" state="normal" resize="both" style="utility_focused"/>
574
<frame focus="no" state="normal" resize="both" style="utility_unfocused"/>
575
<frame focus="yes" state="maximized" style="blank"/>
576
<frame focus="no" state="maximized" style="blank"/>
577
<frame focus="yes" state="shaded" style="utility_focused"/>
578
<frame focus="no" state="shaded" style="utility_unfocused"/>
579
<frame focus="yes" state="maximized_and_shaded" style="blank"/>
580
<frame focus="no" state="maximized_and_shaded" style="blank"/>
581
</frame_style_set>
582
583
<frame_style_set name="border_style_set">
584
<frame focus="yes" state="normal" resize="both" style="border_focused"/>
585
<frame focus="no" state="normal" resize="both" style="border_unfocused"/>
586
<frame focus="yes" state="maximized" style="borderless_focused"/>
587
<frame focus="no" state="maximized" style="borderless_unfocused"/>
588
<frame focus="yes" state="shaded" style="blank"/>
589
<frame focus="no" state="shaded" style="blank"/>
590
<frame focus="yes" state="maximized_and_shaded" style="blank"/>
591
<frame focus="no" state="maximized_and_shaded" style="blank"/>
592
</frame_style_set>
593
594
<frame_style_set name="attached_style_set">
595
<frame focus="yes" state="normal" resize="both" style="attached_focused"/>
596
<frame focus="no" state="normal" resize="both" style="attached_unfocused"/>
597
<frame focus="yes" state="maximized" style="blank"/>
598
<frame focus="no" state="maximized" style="blank"/>
599
<frame focus="yes" state="shaded" style="blank"/>
600
<frame focus="no" state="shaded" style="blank"/>
601
<frame focus="yes" state="maximized_and_shaded" style="blank"/>
602
<frame focus="no" state="maximized_and_shaded" style="blank"/>
603
</frame_style_set>
604
605
<!-- windows -->
606
607
<window type="normal" style_set="normal_style_set"/>
608
<window type="dialog" style_set="dialog_style_set"/>
609
<window type="modal_dialog" style_set="modal_dialog_style_set"/>
610
<window type="menu" style_set="utility_style_set"/>
611
<window type="utility" style_set="utility_style_set"/>
612
<window type="border" style_set="border_style_set"/>
613
614
</metacity_theme>
615