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