/usr/share/themes/Redmond/metacity-1/metacity-theme-1.xml is in metacity-themes 1.0.11.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 | <?xml version="1.0"?>
<!--
Redmond - A Metacity theme to match the Redmond GTK theme.
Copyright (C) 2005 Ryan Probasco
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-->
<metacity_theme>
<info>
<name>Redmond</name>
<author>Ryan Probasco <ryan.probasco@gmail.com></author>
<copyright>Â 2007 Ryan Probasco</copyright>
<date>July, 2005</date>
<description>Designed to match the Redmond GTK theme. Borrowed icon drawing operations from SmoothGNOME by Link Dupont <link@subpop.net>.</description>
</info>
<frame_geometry name="normal_geometry" title_scale="medium">
<distance name="left_width" value="4"/>
<distance name="right_width" value="4"/>
<distance name="bottom_height" value="4"/>
<distance name="left_titlebar_edge" value="7"/>
<distance name="right_titlebar_edge" value="7"/>
<!-- I wish I could figure out how to keep the buttons next to each
other when using aspect_ratio:(
<aspect_ratio name="button" value="1.0"/>
-->
<distance name="button_width" value="16"/>
<distance name="button_height" value="16"/>
<distance name="title_vertical_pad" value="4"/>
<border name="title_border" left="0" right="0" top="4" bottom="2"/>
<border name="button_border" left="0" right="0" top="4" bottom="2"/>
</frame_geometry>
<!-- constants for icon drawing operations -->
<constant name="ButtonIPad" value="4"/>
<constant name="ThickLineWidth" value="3"/>
<draw_ops name="title_focused">
<title x="4" y="(height - title_height) / 2" color="gtk:fg[SELECTED]"/>
</draw_ops>
<draw_ops name="title_unfocused">
<title x="4" y="(height - title_height) / 2" color="gtk:bg[NORMAL]"/>
</draw_ops>
<draw_ops name="close_button_icon">
<line color="blend/gtk:bg[NORMAL]/gtk:fg[NORMAL]/0.75"
width="1"
x1="ButtonIPad+1" y1="ButtonIPad"
x2="width - ButtonIPad" y2="height - ButtonIPad - 1"/>
<line color="blend/gtk:bg[NORMAL]/gtk:fg[NORMAL]/0.75"
width="1"
x1="ButtonIPad" y1="ButtonIPad"
x2="width - ButtonIPad" y2="height - ButtonIPad"/>
<line color="blend/gtk:bg[NORMAL]/gtk:fg[NORMAL]/0.75"
width="1"
x1="ButtonIPad" y1="ButtonIPad+1"
x2="width - ButtonIPad - 1" y2="height - ButtonIPad"/>
<line color="blend/gtk:bg[NORMAL]/gtk:fg[NORMAL]/0.75"
width="1"
x1="ButtonIPad" y1="height - ButtonIPad - 2"
x2="width - ButtonIPad - 1" y2="ButtonIPad-1"/>
<line color="blend/gtk:bg[NORMAL]/gtk:fg[NORMAL]/0.75"
width="1"
x1="ButtonIPad" y1="height - ButtonIPad - 1"
x2="width - ButtonIPad" y2="ButtonIPad-1"/>
<line color="blend/gtk:bg[NORMAL]/gtk:fg[NORMAL]/0.75"
width="1"
x1="ButtonIPad+1" y1="height - ButtonIPad - 1"
x2="width - ButtonIPad" y2="ButtonIPad"/>
</draw_ops>
<draw_ops name="maximize_button_icon">
<rectangle color="blend/gtk:bg[NORMAL]/gtk:fg[NORMAL]/0.75" filled="false"
x="ButtonIPad" y="ButtonIPad" width="width-ButtonIPad*2-1" height="height-ButtonIPad*2-1"/>
<line color="blend/gtk:bg[NORMAL]/gtk:fg[NORMAL]/0.75" width="3"
x1="ButtonIPad" y1="ButtonIPad+1" x2="width-ButtonIPad" y2="ButtonIPad+1"/>
</draw_ops>
<draw_ops name="minimize_button_icon">
<line color="blend/gtk:bg[NORMAL]/gtk:fg[NORMAL]/0.75"
x1="ButtonIPad"
y1="height - ButtonIPad - ThickLineWidth + 1"
x2="width - ButtonIPad"
y2="height - ButtonIPad - ThickLineWidth + 1"
width="3"/>
</draw_ops>
<draw_ops name="normal_window_icon">
<rectangle color="gtk:bg[NORMAL]" filled="true" x="0" y="0" width="width-1" height="height-1"/>
<rectangle color="blend/gtk:bg[NORMAL]/gtk:fg[NORMAL]/0.75" filled="false" x="0" y="0" width="width-1" height="height-1"/>
<line color="blend/gtk:bg[NORMAL]/gtk:fg[NORMAL]/0.75" width="2" x1="0" y1="1" x2="width" y2="1"/>
</draw_ops>
<draw_ops name="restore_button_icon">
<include name="normal_window_icon"
x="2 + ButtonIPad" y="ButtonIPad"
width="width - 7 - ButtonIPad"
height="height - 7 - ButtonIPad"/>
<include name="normal_window_icon"
x="ButtonIPad - 1" y="3 + ButtonIPad"
width="width - 7 - ButtonIPad"
height="height - 7 - ButtonIPad"/>
</draw_ops>
<draw_ops name="toolbar_button">
<gtk_box state="normal" shadow="out" x="0" y="0" width="width" height="height"/>
</draw_ops>
<draw_ops name="toolbar_button_pressed">
<gtk_box state="normal" shadow="in" x="0" y="0" width="width" height="height"/>
</draw_ops>
<draw_ops name="close_button">
<include name="toolbar_button"/>
<include name="close_button_icon"/>
</draw_ops>
<draw_ops name="close_button_pressed">
<include name="toolbar_button_pressed"/>
<include name="close_button_icon" x="1" y="1"/>
</draw_ops>
<draw_ops name="minimize_button">
<include name="toolbar_button"/>
<include name="minimize_button_icon"/>
</draw_ops>
<draw_ops name="minimize_button_pressed">
<include name="toolbar_button_pressed"/>
<include name="minimize_button_icon" x="1" y="1"/>
</draw_ops>
<draw_ops name="maximize_button">
<include name="toolbar_button"/>
<include name="maximize_button_icon"/>
</draw_ops>
<draw_ops name="maximize_button_pressed">
<include name="toolbar_button_pressed"/>
<include name="maximize_button_icon" x="1" y="1"/>
</draw_ops>
<draw_ops name="restore_button">
<include name="toolbar_button"/>
<include name="restore_button_icon"/>
</draw_ops>
<draw_ops name="restore_button_pressed">
<include name="toolbar_button_pressed"/>
<include name="restore_button_icon" x="1" y="1"/>
</draw_ops>
<draw_ops name="menu_button">
<icon x="0" y="0" width="width" height="height"/>
</draw_ops>
<draw_ops name="menu_button_pressed">
<icon x="0" y="0" width="width" height="height"/>
</draw_ops>
<draw_ops name="close_button_icon_unfocused">
<gtk_box state="insensitive" shadow="out" x="0" y="0" width="width" height="height"/>
<include name="close_button_icon"/>
</draw_ops>
<draw_ops name="maximize_button_icon_unfocused">
<gtk_box state="insensitive" shadow="out" x="0" y="0" width="width" height="height"/>
</draw_ops>
<draw_ops name="restore_button_unfocused">
<gtk_box state="insensitive" shadow="out" x="0" y="0" width="width" height="height"/>
</draw_ops>
<draw_ops name="minimize_button_icon_unfocused">
<gtk_box state="insensitive" shadow="out" x="0" y="0" width="width" height="height"/>
</draw_ops>
<draw_ops name="outset">
<line color="gtk:light[NORMAL]" x1="1" y1="1" x2="1" y2="height - 2"/>
<line color="gtk:light[NORMAL]" x1="1" y1="1" x2="width - 2" y2="1"/>
<line color="gtk:dark[NORMAL]" x1="width - 2" y1="1" x2="width - 2" y2="height - 2"/>
<line color="gtk:dark[NORMAL]" x1="1" y1="height - 2" x2="width - 2" y2="height - 2"/>
</draw_ops>
<draw_ops name="inset">
<line color="gtk:dark[NORMAL]" x1="0" y1="0" x2="0" y2="height - 1"/>
<line color="gtk:dark[NORMAL]" x1="0" y1="0" x2="width - 1" y2="0"/>
<line color="gtk:light[NORMAL]" x1="width - 1" y1="0" x2="width - 1" y2="height - 1"/>
<line color="gtk:light[NORMAL]" x1="0" y1="height - 1" x2="width - 1" y2="height - 1"/>
</draw_ops>
<draw_ops name="window_border">
<include name="outset"/>
<rectangle color="#000000" filled="false" x="0" y="0" width="width - 1" height="height - 1"/>
</draw_ops>
<draw_ops name="titlebar_background">
<gradient type="horizontal" x="0" y="0" width="width" height="height">
<color value="gtk:bg[SELECTED]"/>
<color value="blend/gtk:bg[SELECTED]/#FFFFFF/0.6"/>
</gradient>
</draw_ops>
<draw_ops name="titlebar_background_unfocused">
<gradient type="horizontal" x="0" y="0" width="width" height="height">
<color value="blend/gtk:bg[NORMAL]/gtk:fg[NORMAL]/0.5"/>
<color value="gtk:bg[NORMAL]"/>
</gradient>
</draw_ops>
<!--Add some padding on the sides of the titlebar -->
<draw_ops name="right_titlebar">
<rectangle color="blend/gtk:bg[SELECTED]/#FFFFFF/0.6" x="0" y="0" width="3" height="height" filled="true"/>
</draw_ops>
<draw_ops name="left_titlebar">
<rectangle color="gtk:bg[SELECTED]" x="5" y="0" width="width" height="height" filled="true"/>
</draw_ops>
<draw_ops name="right_titlebar_unfocused">
<rectangle color="gtk:bg[NORMAL]" x="0" y="0" width="3" height="height" filled="true"/>
</draw_ops>
<draw_ops name="left_titlebar_unfocused">
<rectangle color="blend/gtk:bg[NORMAL]/gtk:fg[NORMAL]/0.5" x="5" y="0" width="width" height="height" filled="true"/>
</draw_ops>
<frame_style name="base_style" geometry="normal_geometry">
<button function="close" state="normal" draw_ops="close_button"/>
<button function="close" state="pressed" draw_ops="close_button_pressed"/>
<button function="minimize" state="normal" draw_ops="minimize_button"/>
<button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/>
<button function="maximize" state="normal" draw_ops="maximize_button"/>
<button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/>
<button function="menu" state="normal" draw_ops="menu_button"/>
<button function="menu" state="pressed" draw_ops="menu_button_pressed"/>
</frame_style>
<frame_style name="focused_style" parent="base_style" geometry="normal_geometry">
<piece position="title" draw_ops="title_focused"/>
<piece position="entire_background" draw_ops="window_border"/>
<piece position="titlebar_middle" draw_ops="titlebar_background"/>
<piece position="left_titlebar_edge" draw_ops="left_titlebar"/>
<piece position="right_titlebar_edge" draw_ops="right_titlebar"/>
</frame_style>
<frame_style name="unfocused_style" parent="base_style" geometry="normal_geometry">
<piece position="title" draw_ops="title_unfocused"/>
<piece position="entire_background" draw_ops="window_border"/>
<piece position="titlebar_middle" draw_ops="titlebar_background_unfocused"/>
<piece position="left_titlebar_edge" draw_ops="left_titlebar_unfocused"/>
<piece position="right_titlebar_edge" draw_ops="right_titlebar_unfocused"/>
</frame_style>
<frame_style name="maximized_focused_style" parent="base_style" geometry="normal_geometry">
<piece position="title" draw_ops="title_focused"/>
<piece position="titlebar_middle" draw_ops="titlebar_background"/>
<piece position="left_titlebar_edge" draw_ops="left_titlebar"/>
<piece position="right_titlebar_edge" draw_ops="right_titlebar"/>
<button function="maximize" state="normal" draw_ops="restore_button"/>
<button function="maximize" state="pressed" draw_ops="restore_button_pressed"/>
</frame_style>
<frame_style name="maximized_unfocused_style" parent="base_style" geometry="normal_geometry">
<piece position="title" draw_ops="title_unfocused"/>
<piece position="titlebar_middle" draw_ops="titlebar_background_unfocused"/>
<piece position="left_titlebar_edge" draw_ops="left_titlebar_unfocused"/>
<piece position="right_titlebar_edge" draw_ops="right_titlebar_unfocused"/>
<button function="maximize" state="normal" draw_ops="restore_button"/>
<button function="maximize" state="pressed" draw_ops="restore_button_pressed"/>
</frame_style>
<frame_style_set name="normal_style_set">
<frame focus="yes" state="normal" resize="both" style="focused_style"/>
<frame focus="no" state="normal" resize="both" style="unfocused_style"/>
<frame focus="yes" state="maximized" style="maximized_focused_style"/>
<frame focus="no" state="maximized" style="maximized_unfocused_style"/>
<frame focus="yes" state="shaded" style="focused_style"/>
<frame focus="no" state="shaded" style="unfocused_style"/>
<frame focus="yes" state="maximized_and_shaded" style="focused_style"/>
<frame focus="no" state="maximized_and_shaded" style="unfocused_style"/>
</frame_style_set>
<window type="normal" style_set="normal_style_set"/>
<window type="dialog" style_set="normal_style_set"/>
<window type="modal_dialog" style_set="normal_style_set"/>
<window type="menu" style_set="normal_style_set"/>
<window type="utility" style_set="normal_style_set"/>
<window type="border" style_set="normal_style_set"/>
<menu_icon function="close" state="normal" draw_ops="close_button_icon_unfocused"/>
<menu_icon function="maximize" state="normal" draw_ops="maximize_button_icon_unfocused"/>
<menu_icon function="unmaximize" state="normal" draw_ops="restore_button_unfocused"/>
<menu_icon function="minimize" state="normal" draw_ops="minimize_button_icon_unfocused"/>
</metacity_theme>
|