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.xml

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