From b77a7d585cf6cf2420dd770e42ba5b1e08a4e12c Mon Sep 17 00:00:00 2001 From: schererleander Date: Mon, 11 Mar 2024 17:12:20 +0100 Subject: initial commit --- .themes/FlatColor/metacity-1/metacity-theme-1.xml | 458 ++++++++++++++++++++++ 1 file changed, 458 insertions(+) create mode 100644 .themes/FlatColor/metacity-1/metacity-theme-1.xml (limited to '.themes/FlatColor/metacity-1/metacity-theme-1.xml') diff --git a/.themes/FlatColor/metacity-1/metacity-theme-1.xml b/.themes/FlatColor/metacity-1/metacity-theme-1.xml new file mode 100644 index 0000000..82f00b4 --- /dev/null +++ b/.themes/FlatColor/metacity-1/metacity-theme-1.xml @@ -0,0 +1,458 @@ + + + + + Polar Night + vince + GPL + 2014 + Metacity theme + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</draw_ops> + +<draw_ops name="draw_title_text_inactive"> + <title color="#999999" x="3 `max` (width-title_width)/2" y="0 `max` ((height-title_height)/2)"/> +</draw_ops> +<draw_ops name="draw_title"> + <!-- Background gradient --> + <rectangle color="#eeeeee" x="0" y="0" width="width" height="height" filled="true" /> +</draw_ops> + +<draw_ops name="draw_title_unfocused"> + <rectangle color="#eeeeee" x="0" y="0" width="width" height="height" filled="true" /> +</draw_ops> + +<draw_ops name="draw_title_inactive"> + <include name="draw_title_unfocused" /> +</draw_ops> + +<draw_ops name="draw_title_maximized"> + <!-- Background gradient --> + <rectangle color="#eeeeee" x="0" y="0" width="width" height="height" filled="true" /> + +</draw_ops> +<draw_ops name="draw_title_maximized_unfocused"> + <!-- Background gradient --> + <rectangle color="#eeeeee" x="0" y="0" width="width" height="height" filled="true" /> + +</draw_ops> + +<draw_ops name="draw_title_maximized_inactive"> + <include name="draw_title_maximized_unfocused" /> +</draw_ops> + +<!-- Window Frames --> + +<draw_ops name="draw_frame"> + <rectangle color="#eeeeee" x="0" y="0" width="width" height="height" filled="true" /> +</draw_ops> +<draw_ops name="draw_frame_unfocused"> + <rectangle color="#eeeeee" x="0" y="0" width="width" height="height" filled="true" /> +</draw_ops> +<!-- bottom border --> +<draw_ops name="bottom"> + <rectangle color="#eeeeee" x="0" y="0" width="width" height="height" filled="true" /> + +</draw_ops> +<draw_ops name="bottom_edge"> + <rectangle color="#eeeeee" x="0" y="0" width="width" height="height" filled="true" /> + +</draw_ops> +<draw_ops name="bottom-inactive"> + <rectangle color="#eeeeee" x="0" y="0" width="width" height="height" filled="true" /> + +</draw_ops> + +<draw_ops name="border"> + <rectangle color="#eeeeee" x="0" y="0" width="width" height="height" filled="true" /> +</draw_ops> + +<!-- BUTTONS --> + +<!-- Button Trough Left --> + <draw_ops name="left_left_background_focused_normal"> + <image filename="trough_left.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="left_left_background_focused_pressed"> + <image filename="trough_left.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="left_middle_background_focused_normal"> + <image filename="trough_middle.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="left_middle_background_focused_pressed"> + <image filename="trough_middle.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="left_right_background_focused_normal"> + <image filename="trough_right.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="left_right_background_focused_pressed"> + <image filename="trough_right.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="left_left_background_unfocused_normal"> + <image filename="trough_left.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="left_left_background_unfocused_pressed"> + <image filename="trough_left.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="left_middle_background_unfocused_normal"> + <image filename="trough_middle.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="left_middle_background_unfocused_pressed"> + <image filename="trough_middle.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="left_right_background_unfocused_normal"> + <image filename="trough_right.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="left_right_background_unfocused_pressed"> + <image filename="trough_right.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + +<!-- Button Trough Right --> + <draw_ops name="right_left_background_focused_normal"> + <image filename="trough_left.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="right_left_background_focused_pressed"> + <image filename="trough_left.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="right_middle_background_focused_normal"> + <image filename="trough_middle.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="right_middle_background_focused_pressed"> + <image filename="trough_middle.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="right_right_background_focused_normal"> + <image filename="trough_right.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="right_right_background_focused_pressed"> + <image filename="trough_right.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="right_left_background_unfocused_normal"> + <image filename="trough_left.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="right_left_background_unfocused_pressed"> + <image filename="trough_left.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="right_middle_background_unfocused_normal"> + <image filename="trough_middle.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="right_middle_background_unfocused_pressed"> + <image filename="trough_middle.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="right_right_background_unfocused_normal"> + <image filename="trough_right.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="right_right_background_unfocused_pressed"> + <image filename="trough_right.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + +<!-- Button prelightlays --> + <draw_ops name="menu_focused_normal"> + <image filename="menu.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="menu_focused_prelight"> + <image filename="menu_prelight.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="menu_unfocused_normal"> + <image filename="menu-unfocus.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="menu_unfocused_prelight"> + <image filename="menu_prelight.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="minimize_focused_normal"> + <image filename="minimize_focused_normal.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="minimize_focused_prelight"> + <image filename="minimize_focused_prelight.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="minimize_focused_pressed"> + <image filename="minimize_focused_pressed.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="minimize_unfocused_normal"> + <image filename="minimize_unfocused.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="minimize_unfocused_prelight"> + <image filename="minimize_unfocused_prelight.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="minimize_unfocused_pressed"> + <image filename="minimize_focused_pressed.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="maximize_focused_normal"> + <image filename="maximize_focused_normal.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="maximize_focused_prelight"> + <image filename="maximize_focused_prelight.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="maximize_focused_pressed"> + <image filename="maximize_focused_pressed.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="maximize_unfocused_normal"> + <image filename="maximize_unfocused.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="maximize_unfocused_prelight"> + <image filename="maximize_unfocused_prelight.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="maximize_unfocused_pressed"> + <image filename="maximize_focused_pressed.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="unmaximize_focused_normal"> + <image filename="unmaximize_focused_normal.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="unmaximize_focused_prelight"> + <image filename="unmaximize_focused_prelight.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="unmaximize_focused_pressed"> + <image filename="unmaximize_focused_pressed.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="unmaximize_unfocused_normal"> + <image filename="unmaximize_unfocused.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="unmaximize_unfocused_prelight"> + <image filename="unmaximize_unfocused_prelight.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="unmaximize_unfocused_pressed"> + <image filename="unmaximize_focused_pressed.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="close_focused_normal"> + <image filename="close_focused_normal.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="close_focused_prelight"> + <image filename="close_focused_prelight.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="close_focused_pressed"> + <image filename="close_focused_pressed.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="close_unfocused_normal"> + <image filename="close_unfocused.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="close_unfocused_prelight"> + <image filename="close_unfocused_prelight.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + <draw_ops name="close_unfocused_pressed"> + <image filename="close_focused_pressed.png" x="0" y="0" width="object_width" height="object_height"/> + </draw_ops> + + +<!-- FRAME STYLE --> +<frame_style name="normal_focused" geometry="frame_geometry_normal"> + <piece position="title" draw_ops="draw_title_text_normal"/> + <piece position="titlebar" draw_ops="draw_title"/> + <piece position="left_edge" draw_ops="draw_frame"/> + <piece position="right_edge" draw_ops="draw_frame"/> + <piece position="bottom_edge" draw_ops="bottom_edge"/> + <button function="left_left_background" state="normal" draw_ops="left_left_background_focused_normal"/> + <button function="left_middle_background" state="normal" draw_ops="left_middle_background_focused_normal"/> + <button function="left_right_background" state="normal" draw_ops="left_right_background_focused_normal"/> + <button function="left_left_background" state="prelight" draw_ops="left_left_background_focused_normal"/> + <button function="left_middle_background" state="prelight" draw_ops="left_middle_background_focused_normal"/> + <button function="left_right_background" state="prelight" draw_ops="left_right_background_focused_normal"/> + <button function="left_left_background" state="pressed" draw_ops="left_left_background_focused_pressed"/> + <button function="left_middle_background" state="pressed" draw_ops="left_middle_background_focused_pressed"/> + <button function="left_right_background" state="pressed" draw_ops="left_right_background_focused_pressed"/> + <button function="right_left_background" state="normal" draw_ops="right_left_background_focused_normal"/> + <button function="right_middle_background" state="normal" draw_ops="right_middle_background_focused_normal"/> + <button function="right_right_background" state="normal" draw_ops="right_right_background_focused_normal"/> + <button function="right_left_background" state="prelight" draw_ops="right_left_background_focused_normal"/> + <button function="right_middle_background" state="prelight" draw_ops="right_middle_background_focused_normal"/> + <button function="right_right_background" state="prelight" draw_ops="right_right_background_focused_normal"/> + <button function="right_left_background" state="pressed" draw_ops="right_left_background_focused_pressed"/> + <button function="right_middle_background" state="pressed" draw_ops="right_middle_background_focused_pressed"/> + <button function="right_right_background" state="pressed" draw_ops="right_right_background_focused_pressed"/> + <button function="menu" state="normal" draw_ops="menu_focused_normal"/> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight"/> + <button function="menu" state="pressed" draw_ops="menu_focused_normal"/> + <button function="minimize" state="normal" draw_ops="minimize_focused_normal"/> + <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight"/> + <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed"/> + <button function="maximize" state="normal" draw_ops="maximize_focused_normal"/> + <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight"/> + <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed"/> + <button function="close" state="normal" draw_ops="close_focused_normal"/> + <button function="close" state="prelight" draw_ops="close_focused_prelight"/> + <button function="close" state="pressed" draw_ops="close_focused_pressed"/> +</frame_style> + +<frame_style name="normal_unfocused" geometry="frame_geometry_normal"> + <piece position="title" draw_ops="draw_title_text_inactive"/> + <piece position="titlebar" draw_ops="draw_title_inactive"/> + <piece position="left_edge" draw_ops="draw_frame_unfocused"/> + <piece position="right_edge" draw_ops="draw_frame_unfocused"/> + <piece position="bottom_edge" draw_ops="bottom-inactive"/> + <button function="left_left_background" state="normal" draw_ops="left_left_background_unfocused_normal"/> + <button function="left_middle_background" state="normal" draw_ops="left_middle_background_unfocused_normal"/> + <button function="left_right_background" state="normal" draw_ops="left_right_background_unfocused_normal"/> + <button function="left_left_background" state="prelight" draw_ops="left_left_background_unfocused_normal"/> + <button function="left_middle_background" state="prelight" draw_ops="left_middle_background_unfocused_normal"/> + <button function="left_right_background" state="prelight" draw_ops="left_right_background_unfocused_normal"/> + <button function="left_left_background" state="pressed" draw_ops="left_left_background_unfocused_pressed"/> + <button function="left_middle_background" state="pressed" draw_ops="left_middle_background_unfocused_pressed"/> + <button function="left_right_background" state="pressed" draw_ops="left_right_background_unfocused_pressed"/> + <button function="right_left_background" state="normal" draw_ops="right_left_background_unfocused_normal"/> + <button function="right_middle_background" state="normal" draw_ops="right_middle_background_unfocused_normal"/> + <button function="right_right_background" state="normal" draw_ops="right_right_background_unfocused_normal"/> + <button function="right_left_background" state="prelight" draw_ops="right_left_background_unfocused_normal"/> + <button function="right_middle_background" state="prelight" draw_ops="right_middle_background_unfocused_normal"/> + <button function="right_right_background" state="prelight" draw_ops="right_right_background_unfocused_normal"/> + <button function="right_left_background" state="pressed" draw_ops="right_left_background_unfocused_pressed"/> + <button function="right_middle_background" state="pressed" draw_ops="right_middle_background_unfocused_pressed"/> + <button function="right_right_background" state="pressed" draw_ops="right_right_background_unfocused_pressed"/> + <button function="menu" state="normal" draw_ops="menu_unfocused_normal"/> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight"/> + <button function="menu" state="pressed" draw_ops="menu_focused_normal"/> + <button function="minimize" state="normal" draw_ops="minimize_unfocused_normal"/> + <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/> + <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/> + <button function="maximize" state="normal" draw_ops="maximize_unfocused_normal"/> + <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/> + <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/> + <button function="close" state="normal" draw_ops="close_unfocused_normal"/> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/> +</frame_style> + +<frame_style name="maximized_focused" geometry="geometry_maximized" parent="normal_focused"> + <piece position="title" draw_ops="draw_title_text_normal"/> + <piece position="titlebar" draw_ops="draw_title_maximized"/> + <button function="maximize" state="normal" draw_ops="unmaximize_focused_normal"/> + <button function="maximize" state="prelight" draw_ops="unmaximize_focused_prelight"/> + <button function="maximize" state="pressed" draw_ops="unmaximize_focused_pressed"/> +</frame_style> + +<frame_style name="maximized_unfocused" geometry="geometry_maximized" parent="normal_unfocused"> + <piece position="title" draw_ops="draw_title_text_inactive"/> + <piece position="titlebar" draw_ops="draw_title_maximized_inactive"/> + <button function="maximize" state="normal" draw_ops="unmaximize_unfocused_normal"/> + <button function="maximize" state="prelight" draw_ops="unmaximize_unfocused_prelight"/> + <button function="maximize" state="pressed" draw_ops="unmaximize_unfocused_pressed"/> +</frame_style> + +<frame_style name="utility_focused" parent="normal_focused"> + <piece position="title" draw_ops="draw_title_text_normal"/> + <piece position="titlebar" draw_ops="draw_title"/> + <button function="menu" state="normal" draw_ops="menu_focused_normal"/> + <button function="menu" state="prelight" draw_ops="menu_focused_prelight"/> + <button function="menu" state="pressed" draw_ops="menu_focused_normal"/> + <button function="close" state="normal" draw_ops="close_focused_normal"/> + <button function="close" state="prelight" draw_ops="close_focused_prelight"/> + <button function="close" state="pressed" draw_ops="close_focused_pressed"/> +</frame_style> + +<frame_style name="utility_unfocused" parent="normal_unfocused"> + <piece position="title" draw_ops="draw_title_text_inactive"/> + <piece position="titlebar" draw_ops="draw_title_inactive"/> + <button function="menu" state="normal" draw_ops="menu_unfocused_normal"/> + <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight"/> + <button function="menu" state="pressed" draw_ops="menu_focused_normal"/> + <button function="close" state="normal" draw_ops="close_unfocused_normal"/> + <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/> + <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/> +</frame_style> + +<frame_style name="border" geometry="border" > + <piece position="overlay" draw_ops="border"/> + <button function="close" state="normal"><draw_ops></draw_ops></button> + <button function="close" state="pressed"><draw_ops></draw_ops></button> + <button function="maximize" state="normal"><draw_ops></draw_ops></button> + <button function="maximize" state="pressed"><draw_ops></draw_ops></button> + <button function="minimize" state="normal"><draw_ops></draw_ops></button> + <button function="minimize" state="pressed"><draw_ops></draw_ops></button> + <button function="menu" state="normal"><draw_ops></draw_ops></button> + <button function="menu" state="pressed"><draw_ops></draw_ops></button> +</frame_style> + +<!-- STYLE SET --> +<frame_style_set name="normal"> + <frame focus="yes" state="normal" resize="both" style="normal_focused"/> + <frame focus="no" state="normal" resize="both" style="normal_unfocused"/> + <frame focus="yes" state="maximized" style="maximized_focused"/> + <frame focus="no" state="maximized" style="maximized_unfocused"/> + <frame focus="yes" state="shaded" style="normal_focused"/><!-- todo --> + <frame focus="no" state="shaded" style="normal_unfocused"/><!-- todo --> + <frame focus="yes" state="maximized_and_shaded" style="normal_focused"/><!-- todo --> + <frame focus="no" state="maximized_and_shaded" style="normal_unfocused"/><!-- todo --> +</frame_style_set> + +<frame_style_set name="utility"> + <frame focus="yes" state="normal" resize="both" style="utility_focused"/> + <frame focus="no" state="normal" resize="both" style="utility_unfocused"/> + <frame focus="yes" state="maximized" style="maximized_focused"/> + <frame focus="no" state="maximized" style="normal_focused"/> + <frame focus="yes" state="shaded" style="normal_focused"/><!-- todo --> + <frame focus="no" state="shaded" style="normal_unfocused"/><!-- todo --> + <frame focus="yes" state="maximized_and_shaded" style="normal_focused"/><!-- todo --> + <frame focus="no" state="maximized_and_shaded" style="normal_unfocused"/><!-- todo --> +</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="maximized_focused"/> + <frame focus="no" state="maximized" style="normal_focused"/> + <frame focus="yes" state="shaded" style="normal_focused"/><!-- todo --> + <frame focus="no" state="shaded" style="normal_unfocused"/><!-- todo --> + <frame focus="yes" state="maximized_and_shaded" style="normal_focused"/><!-- todo --> + <frame focus="no" state="maximized_and_shaded" style="normal_unfocused"/><!-- todo --> +</frame_style_set> + +<!-- WINDOW --> +<window type="normal" style_set="normal"/> +<window type="dialog" style_set="utility"/> +<window type="modal_dialog" style_set="utility"/> +<window type="menu" style_set="utility"/> +<window type="utility" style_set="utility"/> +<window type="border" style_set="border"/> + +</metacity_theme> -- cgit v1.3.1