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