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

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