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