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