diff options
| author | Syndamia <kamen@syndamia.com> | 2023-05-20 11:28:29 +0300 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2023-05-20 11:28:29 +0300 |
| commit | eab0507af6367a9a75f40ac3dd92e5e42860c2dc (patch) | |
| tree | 71f56e8725b505d70954ad665a03988d85316c85 /themes/Mint-X/metacity-1/metacity-theme-2.xml | |
| parent | 48de6d4af249f23b3a431d357236588208a9f419 (diff) | |
| download | old-mint-y-main.tar old-mint-y-main.tar.gz old-mint-y-main.zip | |
Diffstat (limited to 'themes/Mint-X/metacity-1/metacity-theme-2.xml')
| -rw-r--r-- | themes/Mint-X/metacity-1/metacity-theme-2.xml | 493 |
1 files changed, 493 insertions, 0 deletions
diff --git a/themes/Mint-X/metacity-1/metacity-theme-2.xml b/themes/Mint-X/metacity-1/metacity-theme-2.xml new file mode 100644 index 00000000..81d1a9f8 --- /dev/null +++ b/themes/Mint-X/metacity-1/metacity-theme-2.xml @@ -0,0 +1,493 @@ +<?xml version="1.0"?> +<metacity_theme> +<info> + <name>Mint-X</name> + <author>JosephM</author> + <copyright>GPL</copyright> + <date>June 2015</date> + <description>A pleasant theme built to adapt to many color schemes as well as be optimal for both high and low resolution displays.</description> +</info> + +<!-- ::: GEOMETRY ::: --> +<frame_geometry name="normal" rounded_top_left="4" rounded_top_right="4" rounded_bottom_left="false" rounded_bottom_right="false"> + <distance name="left_width" value="3"/> + <distance name="right_width" value="3"/> + <distance name="bottom_height" value="3"/> + <distance name="left_titlebar_edge" value="6"/> + <distance name="right_titlebar_edge" value="6"/> + <aspect_ratio name="button" value="1.0"/> + <distance name="title_vertical_pad" value="0"/> + <border name="title_border" left="2" right="2" top="5" bottom="2"/> + <border name="button_border" left="1" right="1" top="3" bottom="0"/> +</frame_geometry> + +<frame_geometry name="shaded" parent="normal" rounded_top_left="4" rounded_top_right="4" rounded_bottom_left="false" rounded_bottom_right="false"/> + +<frame_geometry name="normal_maximized" parent="normal" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false"> + <!-- strip frame spacing off the normal geometry when maximised --> + <distance name="left_width" value="0"/> + <distance name="right_width" value="0"/> + <distance name="bottom_height" value="1"/> + <distance name="left_titlebar_edge" value="1"/> + <distance name="right_titlebar_edge" value="1"/> +</frame_geometry> + +<frame_geometry name="utility" title_scale="small" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false"> + <distance name="left_width" value="2"/> + <distance name="right_width" value="2"/> + <distance name="bottom_height" value="2"/> + <distance name="left_titlebar_edge" value="3"/> + <distance name="right_titlebar_edge" value="3"/> + <distance name="title_vertical_pad" value="0"/> + <border name="title_border" left="2" right="2" top="4" bottom="3"/> + <border name="button_border" left="0" right="0" top="2" bottom="2"/> + <aspect_ratio name="button" value="1"/> +</frame_geometry> + +<frame_geometry name="border" has_title="false" rounded_top_left="4" rounded_top_right="4"> + <distance name="left_width" value="2"/> + <distance name="right_width" value="2"/> + <distance name="bottom_height" value="2"/> + <distance name="left_titlebar_edge" value="0"/> + <distance name="right_titlebar_edge" value="0"/> + <distance name="button_width" value="0"/> + <distance name="button_height" value="0"/> + <distance name="title_vertical_pad" value="4"/> + <border name="title_border" left="0" right="0" top="0" bottom="0"/> + <border name="button_border" left="0" right="0" top="0" bottom="0"/> +</frame_geometry> + +<!-- button minimum size --> +<constant name="Bmin" value="7"/> +<!-- button inside padding --> +<constant name="Bpad" value="6"/> + +<!-- ::: BORDER OUTLINE ::: --> +<draw_ops name="border"> + <line color="shade/gtk:bg[NORMAL]/0.66" x1="4" y1="0" x2="width-5" y2="0"/> + <line color="shade/gtk:bg[NORMAL]/1.18" x1="5" y1="1" x2="width-6" y2="1"/> + <line color="shade/gtk:bg[NORMAL]/0.66" x1="0" y1="4" x2="0" y2="height-1"/> + <line color="shade/gtk:bg[NORMAL]/0.66" x1="width-1" y1="4" x2="width-1" y2="height-1"/> + <line color="shade/gtk:bg[NORMAL]/0.66" x1="0" y1="height-1" x2="width" y2="height-1"/> + <arc color="shade/gtk:bg[NORMAL]/0.66" x="0" y="0" width="9" height="9" start_angle="270" extent_angle="90" /> + <arc color="shade/gtk:bg[NORMAL]/0.66" x="width-10" y="0" width="9" height="9" start_angle="0" extent_angle="90" /> + <arc color="shade/gtk:bg[NORMAL]/1.18" x="1" y="1" width="7" height="7" start_angle="270" extent_angle="90" /> + <arc color="shade/gtk:bg[NORMAL]/1.18" x="width-10" y="1" width="9" height="7" start_angle="0" extent_angle="90" /> + + <!-- double arcs for darker borders --> + <arc color="shade/gtk:bg[NORMAL]/0.66" x="0" y="0" width="9" height="9" start_angle="270" extent_angle="90" /> + <arc color="shade/gtk:bg[NORMAL]/0.66" x="width-10" y="0" width="9" height="9" start_angle="0" extent_angle="90" /> +</draw_ops> + +<draw_ops name="border_unfocused"> + <line color="shade/gtk:bg[NORMAL]/0.66" x1="4" y1="0" x2="width-5" y2="0"/> + <line color="shade/gtk:bg[NORMAL]/0.66" x1="0" y1="4" x2="0" y2="height-1"/> + <line color="shade/gtk:bg[NORMAL]/0.66" x1="width-1" y1="4" x2="width-1" y2="height-1"/> + <line color="shade/gtk:bg[NORMAL]/0.66" x1="0" y1="height-1" x2="width" y2="height-1"/> + <arc color="shade/gtk:bg[NORMAL]/0.66" x="0" y="0" width="9" height="9" start_angle="270" extent_angle="90" /> + <arc color="shade/gtk:bg[NORMAL]/0.66" x="width-10" y="0" width="9" height="9" start_angle="0" extent_angle="90" /> + + <!-- double arcs for darker borders --> + <arc color="shade/gtk:bg[NORMAL]/0.66" x="0" y="0" width="9" height="9" start_angle="270" extent_angle="90" /> + <arc color="shade/gtk:bg[NORMAL]/0.66" x="width-10" y="0" width="9" height="9" start_angle="0" extent_angle="90" /> +</draw_ops> + +<draw_ops name="maxed_border"> + <line color="shade/gtk:bg[NORMAL]/1.14" x1="0" y1="0" x2="width" y2="0"/> + <line color="shade/gtk:bg[NORMAL]/0.66" x1="0" y1="height-1" x2="width" y2="height-1"/> +</draw_ops> + +<!-- ::: TITLEBAR ::: --> + +<draw_ops name="titlebar_gradient"> + <rectangle color="gtk:bg[NORMAL]" x="0" y="0" width="width" height="height" filled="true"/> + <gradient type="vertical" x="0" y="0" width="width" height="top_height+1"> + <color value="shade/gtk:bg[NORMAL]/1.08"/> + <color value="shade/gtk:bg[NORMAL]/1.0"/> + </gradient> +</draw_ops> + +<draw_ops name="titlebar_unfocused"> + <rectangle color="gtk:bg[NORMAL]" x="0" y="0" width="width" height="height" filled="true"/> +</draw_ops> + +<draw_ops name="titlebar_maximized"> + <include name="titlebar_gradient"/> + <include name="maxed_border"/> +</draw_ops> + +<draw_ops name="titlebar_maximized_unfocused"> + <include name="titlebar_unfocused"/> + <include name="maxed_border"/> +</draw_ops> + +<draw_ops name="round_titlebar"> + <include name="titlebar_gradient"/> + <include name="border"/> +</draw_ops> + +<draw_ops name="round_titlebar_unfocused"> + <include name="titlebar_unfocused"/> + <include name="border_unfocused"/> +</draw_ops> + +<draw_ops name="titlebar_shaded"> + <include name="border"/> + <line color="shade/gtk:bg[NORMAL]/0.66" x1="0" y1="height-1" x2="width" y2="height-1"/> +</draw_ops> + +<draw_ops name="round_titlebar_shaded"> + <include name="border"/> + <line color="shade/gtk:bg[NORMAL]/0.66" x1="5" y1="height-1" x2="width-6" y2="height-1"/> +</draw_ops> + +<!-- ::: TITLES ::: --> +<draw_ops name="title"> + <title color="shade/gtk:bg[NORMAL]/1.30" x="3 `max` (width-title_width)/2" y="1 `max` ((height-title_height)/2)+1"/> + <title color="shade/gtk:bg[NORMAL]/0.50" x="3 `max` (width-title_width)/2" y="0 `max` ((height-title_height)/2)"/> +</draw_ops> + +<draw_ops name="title_unfocused"> + <title color="shade/gtk:bg[NORMAL]/0.80" x="3 `max` (width-title_width)/2" y="0 `max` ((height-title_height)/2)"/> +</draw_ops> + +<!-- menu icon --> + +<draw_ops name="menu_button_normal"> + <image filename="menu-focus-normal.svg" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" + height="object_height"/> +</draw_ops> +<draw_ops name="menu_button_prelight"> + <image filename="menu-focus.svg" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" + height="object_height"/> +</draw_ops> + +<draw_ops name="menu_button_unfocused"> + <image filename="menu-focus-none.svg" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" + height="object_height"/> +</draw_ops> + + +<!-- close icon --> + +<draw_ops name="close_button_normal"> + <image filename="close-focus-normal.svg" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" + height="object_height"/> +</draw_ops> + +<draw_ops name="close_button_prelight"> + <image filename="close-focus.svg" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" + height="object_height"/> +</draw_ops> + +<draw_ops name="close_button_unfocused"> + <image filename="close-focus-none.svg" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" + height="object_height"/> +</draw_ops> + +<!-- maximize icon --> + +<draw_ops name="maximize_button_normal"> + <image filename="maximize-focus-normal.svg" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" + height="object_height"/> +</draw_ops> + +<draw_ops name="maximize_button_prelight"> + <image filename="maximize-focus.svg" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" + height="object_height"/> +</draw_ops> + +<draw_ops name="maximize_button_unfocused"> + <image filename="maximize-focus-none.svg" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" + height="object_height"/> +</draw_ops> + +<!-- minimize icon --> + +<draw_ops name="minimize_button_normal"> + <image filename="minimize-focus-normal.svg" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" + height="object_height"/> +</draw_ops> + +<draw_ops name="minimize_button_prelight"> +<image filename="minimize-focus.svg" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" + height="object_height"/> +</draw_ops> + +<draw_ops name="minimize_button_unfocused"> +<image filename="minimize-focus-none.svg" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" + height="object_height"/> +</draw_ops> + +<!-- shade icon --> + +<draw_ops name="shade_button_normal"> + <image filename="shade-focus-normal.svg" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" + height="object_height"/> +</draw_ops> + +<draw_ops name="shade_button_prelight"> + <image filename="shade-focus.svg" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" + height="object_height"/> +</draw_ops> + +<draw_ops name="shade_button_unfocused"> + <image filename="shade-focus-none.svg" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" + height="object_height"/> +</draw_ops> + +<!-- unshade icon --> + +<draw_ops name="unshade_button_normal"> + <image filename="unshade-focus-normal.svg" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" + height="object_height"/> +</draw_ops> + +<draw_ops name="unshade_button_prelight"> + <image filename="unshade-focus.svg" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" + height="object_height"/> +</draw_ops> + +<draw_ops name="unshade_button_unfocused"> + <image filename="unshade-focus-none.svg" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" + height="object_height"/> +</draw_ops> + +<!-- stick icon --> + +<draw_ops name="stick_button_normal"> + <image filename="stick-focus-normal.svg" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" + height="object_height"/> +</draw_ops> + +<draw_ops name="stick_button_prelight"> + <image filename="stick-focus.svg" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" + height="object_height"/> +</draw_ops> + +<draw_ops name="stick_button_unfocused"> + <image filename="stick-focus-none.svg" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" + height="object_height"/> +</draw_ops> + +<!-- unstick icon --> + +<draw_ops name="unstick_button_normal"> + <image filename="unstick-focus-normal.svg" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" + height="object_height"/> +</draw_ops> + +<draw_ops name="unstick_button_prelight"> + <image filename="unstick-focus.svg" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" + height="object_height"/> +</draw_ops> + +<draw_ops name="unstick_button_unfocused"> + <image filename="unstick-focus-none.svg" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" + height="object_height"/> +</draw_ops> + +<draw_ops name="blank"> +<!-- nothing --> +</draw_ops> + +<!-- ::: FRAME STYLES ::: --> +<frame_style name="normal" geometry="normal"> + <piece position="entire_background" draw_ops="round_titlebar_unfocused"/> + <piece position="title" draw_ops="title_unfocused"/> + <button function="close" state="normal" draw_ops="close_button_unfocused"/> + <button function="close" state="pressed" draw_ops="close_button_unfocused"/> + <button function="close" state="prelight" draw_ops="close_button_prelight"/> + <button function="maximize" state="normal" draw_ops="maximize_button_unfocused"/> + <button function="maximize" state="pressed" draw_ops="maximize_button_unfocused"/> + <button function="maximize" state="prelight" draw_ops="maximize_button_prelight"/> + <button function="minimize" state="normal" draw_ops="minimize_button_unfocused"/> + <button function="minimize" state="pressed" draw_ops="minimize_button_unfocused"/> + <button function="minimize" state="prelight" draw_ops="minimize_button_prelight"/> + <button function="menu" state="normal" draw_ops="menu_button_unfocused"/> + <button function="menu" state="pressed" draw_ops="menu_button_unfocused"/> + <button function="menu" state="prelight" draw_ops="menu_button_prelight"/> + <button function="shade" state="normal" draw_ops="shade_button_unfocused"/> + <button function="shade" state="pressed" draw_ops="shade_button_unfocused"/> + <button function="shade" state="prelight" draw_ops="shade_button_prelight"/> + <button function="unshade" state="normal" draw_ops="unshade_button_unfocused"/> + <button function="unshade" state="pressed" draw_ops="unshade_button_unfocused"/> + <button function="unshade" state="prelight" draw_ops="unshade_button_prelight"/> + <button function="above" state="normal"><draw_ops></draw_ops></button> + <button function="above" state="pressed"><draw_ops></draw_ops></button> + <button function="unabove" state="normal"><draw_ops></draw_ops></button> + <button function="unabove" state="pressed"><draw_ops></draw_ops></button> + <button function="stick" state="normal" draw_ops="stick_button_unfocused"/> + <button function="stick" state="pressed" draw_ops="stick_button_unfocused"/> + <button function="stick" state="prelight" draw_ops="stick_button_prelight"/> + <button function="unstick" state="normal" draw_ops="unstick_button_unfocused"/> + <button function="unstick" state="pressed" draw_ops="unstick_button_unfocused"/> + <button function="unstick" state="prelight" draw_ops="unstick_button_prelight"/> +</frame_style> + +<frame_style name="normal_shaded" geometry="shaded" parent="normal"> + <piece position="entire_background" draw_ops="round_titlebar"/> +</frame_style> + +<frame_style name="focused" geometry="normal" parent="normal"> + <piece position="entire_background" draw_ops="round_titlebar"/> + <piece position="title" draw_ops="title"/> + <button function="close" state="normal" draw_ops="close_button_normal"/> + <button function="maximize" state="normal" draw_ops="maximize_button_normal"/> + <button function="minimize" state="normal" draw_ops="minimize_button_normal"/> + <button function="menu" state="normal" draw_ops="menu_button_normal"/> + <button function="shade" state="normal" draw_ops="shade_button_normal"/> + <button function="unshade" state="normal" draw_ops="unshade_button_normal"/> + <button function="stick" state="normal" draw_ops="stick_button_normal"/> + <button function="unstick" state="normal" draw_ops="unstick_button_normal"/> +</frame_style> + +<frame_style name="focused_shaded" geometry="shaded" parent="focused"> + <piece position="entire_background" draw_ops="round_titlebar_shaded"/> +</frame_style> + +<frame_style name="normal_maximized" geometry="normal_maximized" parent="normal"> + <piece position="entire_background" draw_ops="titlebar_maximized_unfocused"/> +</frame_style> + +<frame_style name="focused_maximized" geometry="normal_maximized" parent="focused"> + <piece position="entire_background" draw_ops="titlebar_maximized"/> +</frame_style> + +<frame_style name="border" geometry="border" parent="normal"> + <piece position="entire_background" draw_ops="round_titlebar_unfocused"/> + <piece position="title" draw_ops="blank"/> +</frame_style> + +<frame_style name="utility_normal" geometry="utility" parent="normal"> +</frame_style> + +<frame_style name="utility_focused" geometry="utility" parent="focused"> +</frame_style> + +<frame_style name="utility_focused_shaded" geometry="utility" parent="focused_shaded"> + <piece position="entire_background" draw_ops="titlebar_shaded"/> +</frame_style> + +<frame_style_set name="normal"> + <frame focus="yes" state="normal" resize="both" style="focused"/> + <frame focus="no" state="normal" resize="both" style="normal"/> + <frame focus="yes" state="maximized" style="focused_maximized"/> + <frame focus="no" state="maximized" style="normal_maximized"/> + <frame focus="yes" state="shaded" style="focused_shaded"/> + <frame focus="no" state="shaded" style="normal_shaded"/> + <frame focus="yes" state="maximized_and_shaded" style="focused_maximized"/> + <frame focus="no" state="maximized_and_shaded" style="normal_maximized"/> +</frame_style_set> + +<frame_style_set name="utility" parent="normal"> + <frame focus="yes" state="normal" resize="both" style="utility_focused"/> + <frame focus="no" state="normal" resize="both" style="utility_normal"/> + <!-- this is a bunch of crack since utility windows shouldn't be maximized --> + <frame focus="yes" state="maximized" style="focused"/> + <frame focus="no" state="maximized" style="normal"/> + <frame focus="yes" state="shaded" style="utility_focused_shaded"/> + <frame focus="no" state="shaded" style="utility_normal"/> + <frame focus="yes" state="maximized_and_shaded" style="focused_shaded"/> + <frame focus="no" state="maximized_and_shaded" style="normal"/> +</frame_style_set> + +<frame_style_set name="border"> + <frame focus="yes" state="normal" resize="both" style="border"/> + <frame focus="no" state="normal" resize="both" style="border"/> + <frame focus="yes" state="maximized" style="border"/> + <frame focus="no" state="maximized" style="border"/> + <frame focus="yes" state="shaded" style="border"/> + <frame focus="no" state="shaded" style="border"/> + <frame focus="yes" state="maximized_and_shaded" style="border"/> + <frame focus="no" state="maximized_and_shaded" style="border"/> +</frame_style_set> + +<window type="normal" style_set="normal"/> +<window type="dialog" style_set="normal"/> +<window type="modal_dialog" style_set="normal"/> +<window type="menu" style_set="normal"/> +<window type="utility" style_set="utility"/> +<window type="border" style_set="border"/> + +<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="maximize_button_icon_unfocused"/> +<menu_icon function="minimize" state="normal" draw_ops="minimize_button_icon_unfocused"/> + +</metacity_theme> + + + |
