aboutsummaryrefslogtreecommitdiffstats
path: root/themes/numix-no-title-max/metacity-1/metacity-theme-3.xml
diff options
context:
space:
mode:
Diffstat (limited to 'themes/numix-no-title-max/metacity-1/metacity-theme-3.xml')
-rw-r--r--themes/numix-no-title-max/metacity-1/metacity-theme-3.xml1589
1 files changed, 1589 insertions, 0 deletions
diff --git a/themes/numix-no-title-max/metacity-1/metacity-theme-3.xml b/themes/numix-no-title-max/metacity-1/metacity-theme-3.xml
new file mode 100644
index 0000000..264fb01
--- /dev/null
+++ b/themes/numix-no-title-max/metacity-1/metacity-theme-3.xml
@@ -0,0 +1,1589 @@
1<?xml version="1.0"?>
2<metacity_theme>
3<info>
4 <name>Numix</name>
5 <author>Satyajit Sahoo</author>
6 <copyright>GPL-3.0+</copyright>
7 <date>11 December 2013</date>
8 <description>Numix Mutter Theme</description>
9</info>
10
11<!-- ::: CONSTANTS ::: -->
12<constant name="C_titlebar" value="gtk:custom(wm_bg,#2d2d2d)" />
13<constant name="C_border_focused" value="gtk:custom(wm_border_focused,#484848)" />
14<constant name="C_border_unfocused" value="gtk:custom(wm_border_unfocused,#393939)" />
15<constant name="C_title_focused" value="gtk:custom(wm_title_focused,#dcdcdc)" />
16<constant name="C_title_unfocused" value="gtk:custom(wm_title_unfocused,#888888)" />
17<constant name="C_icons_focused" value="gtk:custom(wm_icons_focused,#dcdcdc)" />
18<constant name="C_icons_focused_prelight" value="gtk:custom(wm_icons_focused_prelight,gtk:bg[SELECTED])" />
19<constant name="C_icons_focused_pressed" value="gtk:custom(wm_icons_focused_pressed,shade/gtk:bg[SELECTED]/0.8)" />
20<constant name="C_icons_unfocused" value="gtk:custom(wm_icons_unfocused,#888888)" />
21<constant name="C_icons_unfocused_prelight" value="gtk:custom(wm_icons_focused_prelight,gtk:bg[SELECTED])" />
22<constant name="C_icons_unfocused_pressed" value="gtk:custom(wm_icons_focused_pressed,shade/gtk:bg[SELECTED]/0.8)" />
23
24<!-- ::: GEOMETRY ::: -->
25<frame_geometry name="normal" title_scale="medium" rounded_top_left="1" rounded_top_right="1">
26 <distance name="left_width" value="1" />
27 <distance name="right_width" value="1" />
28 <distance name="bottom_height" value="1" />
29 <distance name="left_titlebar_edge" value="4" />
30 <distance name="right_titlebar_edge" value="4" />
31 <distance name="title_vertical_pad" value="0" />
32 <aspect_ratio name="button" value="1.0" />
33 <border name="title_border" left="8" right="8" top="4" bottom="4" />
34 <border name="button_border" left="0" right="0" top="0" bottom="0" />
35</frame_geometry>
36
37<frame_geometry name="normal_unfocused" title_scale="medium" rounded_top_left="1" rounded_top_right="1" parent="normal" />
38
39<frame_geometry name="max" title_scale="medium" has_title="false" parent="normal" rounded_top_left="false" rounded_top_right="false">
40 <distance name="left_width" value="0" />
41 <distance name="right_width" value="0" />
42 <distance name="bottom_height" value="0" />
43 <border name="title_border" left="0" right="0" top="0" bottom="0" />
44 <border name="button_border" left="0" right="0" top="0"
45bottom="0" />
46</frame_geometry>
47
48<frame_geometry name="tiled_left" title_scale="medium" rounded_top_left="false" rounded_top_right="false" parent="max">
49 <distance name="right_width" value="1" />
50</frame_geometry>
51
52<frame_geometry name="tiled_right" title_scale="medium" rounded_top_left="false" rounded_top_right="false" parent="max">
53 <distance name="left_width" value="1" />
54</frame_geometry>
55
56<frame_geometry name="small" title_scale="small" parent="normal" rounded_top_left="1" rounded_top_right="1">
57 <distance name="title_vertical_pad" value="0" />
58 <border name="title_border" left="8" right="8" top="4" bottom="4" />
59 <border name="button_border" left="0" right="0" top="0" bottom="0" />
60</frame_geometry>
61
62<frame_geometry name="small_unfocused" parent="small">
63 <distance name="left_titlebar_edge" value="1"/>
64 <distance name="right_titlebar_edge" value="1"/>
65</frame_geometry>
66
67<frame_geometry name="nobuttons" hide_buttons="true" parent="normal" />
68
69<frame_geometry name="border" has_title="false" rounded_top_left="false" rounded_top_right="false" parent="normal" >
70 <distance name="left_width" value="1" />
71 <distance name="right_width" value="1" />
72 <distance name="bottom_height" value="1" />
73 <distance name="title_vertical_pad" value="0" />
74 <border name="title_border" left="0" right="0" top="0" bottom="0" />
75 <border name="button_border" left="0" right="0" top="0" bottom="0"/>
76</frame_geometry>
77
78<frame_geometry name="borderless" has_title="false" rounded_top_left="false" rounded_top_right="false" parent="normal">
79 <distance name="left_width" value="0" />
80 <distance name="right_width" value="0" />
81 <distance name="bottom_height" value="0" />
82 <distance name="title_vertical_pad" value="0" />
83 <border name="title_border" left="0" right="0" top="0" bottom="0" />
84 <border name="button_border" left="0" right="0" top="0" bottom="0" />
85</frame_geometry>
86
87<frame_geometry name="modal" title_scale="small" hide_buttons="true" rounded_top_left="1" rounded_top_right="1" rounded_bottom_right="1" rounded_bottom_left="1" parent="small">
88</frame_geometry>
89
90<frame_geometry name="attached" title_scale="small" hide_buttons="true" rounded_top_left="1" rounded_top_right="1" parent="small">
91</frame_geometry>
92
93<!-- ::: TITLES ::: -->
94<draw_ops name="title_focused">
95 <title version="< 3.1"
96 x="(0 `max` ((width - title_width) / 2)) + 2"
97 y="(0 `max` ((height - title_height) / 2))"
98 color="C_title_focused" />
99 <title version=">= 3.1"
100 x="(0 `max` ((frame_x_center - title_width/2) `min` (width - title_width))) + 2"
101 y="(0 `max` ((height - title_height) / 2))"
102 ellipsize_width="width"
103 color="C_title_focused" />
104</draw_ops>
105
106<draw_ops name="title_unfocused">
107 <title version="< 3.1"
108 x="(0 `max` ((width - title_width) / 2)) + 2"
109 y="(0 `max` ((height - title_height) / 2))"
110 color="C_title_unfocused" />
111 <title version=">= 3.1"
112 x="(0 `max` ((frame_x_center - title_width/2) `min` (width - title_width))) + 2"
113 y="(0 `max` ((height - title_height) / 2))"
114 ellipsize_width="width"
115 color="C_title_unfocused" />
116</draw_ops>
117
118<!-- ::: WINDOW DECORATIONS ::: -->
119<draw_ops name="entire_background_focused">
120 <rectangle color="C_titlebar" x="0" y="0" width="width" height="height" filled="true" />
121</draw_ops>
122
123<draw_ops name="entire_background_unfocused">
124 <include name="entire_background_focused" />
125</draw_ops>
126
127<draw_ops name="titlebar_fill_focused">
128 <rectangle color="C_titlebar" x="0" y="0" width="width" height="height" filled="true" />
129</draw_ops>
130
131<draw_ops name="titlebar_fill_attached_focused">
132 <include name="entire_background_focused" />
133</draw_ops>
134
135<draw_ops name="titlebar_fill_unfocused">
136 <rectangle color="C_titlebar" x="0" y="0" width="width" height="height" filled="true" />
137</draw_ops>
138
139<draw_ops name="titlebar_focused">
140 <include name="titlebar_fill_focused" />
141</draw_ops>
142
143<draw_ops name="titlebar_attached_focused"> <!-- titlebar for attached and modal dialogs -->
144 <include name="titlebar_fill_attached_focused" />
145</draw_ops>
146
147<draw_ops name="rounded_titlebar_focused">
148 <include name="titlebar_fill_focused" />
149</draw_ops>
150
151<draw_ops name="border_focused">
152 <rectangle color="C_border_focused" x="0" y="0" width="width-1" height="height-1" filled="false" />
153</draw_ops>
154
155<draw_ops name="border_unfocused">
156 <rectangle color="C_border_unfocused" x="0" y="0" width="width-1" height="height-1" filled="false" />
157</draw_ops>
158
159<draw_ops name="rounded_border_focused">
160 <line color="C_border_focused" x1="2" y1="0" x2="width-3" y2="0" />
161 <line color="C_border_focused" x1="0" y1="height-1" x2="width-1" y2="height-1" />
162 <line color="C_border_focused" x1="0" y1="2" x2="0" y2="height-2" />
163 <line color="C_border_focused" x1="width-1" y1="2" x2="width-1" y2="height-2" />
164 <arc color="C_border_focused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" />
165 <arc color="C_border_focused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" />
166 <!-- double arcs for darker borders -->
167 <arc color="C_border_focused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" />
168 <arc color="C_border_focused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" />
169</draw_ops>
170
171<draw_ops name="rounded_border_unfocused">
172 <line color="C_border_unfocused" x1="2" y1="0" x2="width-3" y2="0" />
173 <line color="C_border_unfocused" x1="0" y1="height-1" x2="width-1" y2="height-1" />
174 <line color="C_border_unfocused" x1="0" y1="2" x2="0" y2="height-2" />
175 <line color="C_border_unfocused" x1="width-1" y1="2" x2="width-1" y2="height-2" />
176 <arc color="C_border_unfocused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" />
177 <arc color="C_border_unfocused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" />
178 <!-- double arcs for darker borders -->
179 <arc color="C_border_unfocused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" />
180 <arc color="C_border_unfocused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" />
181</draw_ops>
182
183<draw_ops name="border_right_focused">
184 <line
185 x1="width-1" y1="0"
186 x2="width-1" y2="height"
187 color="C_border_focused" />
188</draw_ops>
189
190<draw_ops name="border_right_unfocused">
191 <line
192 x1="width-1" y1="0"
193 x2="width-1" y2="height"
194 color="C_border_unfocused" />
195</draw_ops>
196
197<draw_ops name="border_left_focused">
198 <line