Want more features on Pastebin? Sign Up, it's FREE!
Guest

Metacity Modified - Black & Borderless

By: a guest on Mar 10th, 2013  |  syntax: XML  |  size: 19.97 KB  |  views: 28  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?xml version="1.0"?>
  2. <metacity_theme>
  3.         <info>
  4.                 <name>Metabox</name>
  5.                 <author>Garrett LeSage &lt;garrett@redhat.com&gt; based on Havoc Pennington &lt;hp@redhat.com&gt;'s Atlanta theme</author>
  6.                 <copyright>&#194; Garrett LeSage, Havoc Pennington, 2002</copyright>
  7.                 <date>Jun 12, 2002</date>
  8.                 <description>Modified by: Meepsi. Looks a little like BlackBox.</description>
  9.         </info>
  10.  
  11.         <frame_geometry name="normal">
  12.                 <distance name="left_width" value="0"/>
  13.                 <distance name="right_width" value="0"/>
  14.                 <distance name="bottom_height" value="0"/>
  15.                 <distance name="left_titlebar_edge" value="0"/>
  16.                 <distance name="right_titlebar_edge" value="0"/>
  17.                 <distance name="title_vertical_pad" value="3"/>
  18.                 <border name="title_border" left="0" right="0" top="0" bottom="0"/>
  19.                 <border name="button_border" left="0" right="0" top="0" bottom="0"/>
  20.                 <aspect_ratio name="button" value="1.0"/>
  21.         </frame_geometry>
  22.  
  23.         <!-- strip borders off the normal geometry -->
  24.         <frame_geometry name="normal_small_borders" parent="normal">
  25.                 <distance name="left_width" value="0"/>
  26.                 <distance name="right_width" value="0"/>
  27.                 <distance name="bottom_height" value="0"/>
  28.                 <distance name="left_titlebar_edge" value="0"/>
  29.                 <distance name="right_titlebar_edge" value="0"/>
  30.         </frame_geometry>
  31.  
  32.         <frame_geometry name="utility" title_scale="small">
  33.                 <distance name="left_width" value="1"/>
  34.                 <distance name="right_width" value="1"/>
  35.                 <distance name="bottom_height" value="4"/>
  36.                 <distance name="left_titlebar_edge" value="1"/>
  37.                 <distance name="right_titlebar_edge" value="1"/>
  38.                 <distance name="title_vertical_pad" value="1"/>
  39.                 <border name="title_border" left="0" right="0" top="1" bottom="1"/>
  40.                 <border name="button_border" left="0" right="0" top="1" bottom="1"/>
  41.                 <aspect_ratio name="button" value="1.0"/>
  42.         </frame_geometry>
  43.  
  44.         <frame_geometry name="border" has_title="false">
  45.                 <distance name="left_width" value="4"/>
  46.                 <distance name="right_width" value="4"/>
  47.                 <distance name="bottom_height" value="4"/>
  48.                 <distance name="left_titlebar_edge" value="0"/>
  49.                 <distance name="right_titlebar_edge" value="0"/>
  50.                 <distance name="button_width" value="0"/>
  51.                 <distance name="button_height" value="0"/>
  52.                 <distance name="title_vertical_pad" value="4"/>
  53.                 <border name="title_border" left="0" right="0" top="0" bottom="0"/>
  54.                 <border name="button_border" left="0" right="0" top="0" bottom="0"/>
  55.         </frame_geometry>
  56.  
  57.         <!-- define constants -->
  58.         <constant name="ArrowWidth" value="7"/>
  59.         <constant name="ArrowHeight" value="5"/>
  60.         <constant name="ButtonIPad" value="4"/>
  61.         <constant name="ThickLineWidth" value="3"/>
  62.         <constant name="IconTitleSpacing" value="2"/>
  63.         <constant name="SpacerWidth" value="8"/>
  64.         <constant name="SpacerHeight" value="11"/>
  65.  
  66.         <!-- Backgrounds -->
  67.  
  68.         <draw_ops name="bg_active">
  69.                 <gradient type="vertical" x="0" y="0" width="width" height="height">
  70.                         <color value="shade/gtk:bg[SELECTED]/0.0"/>
  71.                         <color value="shade/gtk:bg[SELECTED]/0.0"/>
  72.                 </gradient>
  73.         </draw_ops>
  74.  
  75.         <draw_ops name="bg_inactive">
  76.                 <gradient type="vertical" x="0" y="0" width="width" height="height">
  77.                         <color value="shade/gtk:bg[INSENSITIVE]/0.1"/>
  78.                         <color value="shade/gtk:bg[INSENSITIVE]/0.1"/>
  79.                 </gradient>
  80.         </draw_ops>
  81.  
  82.         <draw_ops name="bg_button_active">
  83.                 <include name="bg_active"/>
  84.         </draw_ops>
  85.  
  86.         <draw_ops name="bg_button_inactive">
  87.                 <include name="bg_inactive"/>
  88.         </draw_ops>
  89.  
  90.         <draw_ops name="bg_title_active">
  91.                 <include name="bg_active"/>
  92.         </draw_ops>
  93.  
  94.         <draw_ops name="bg_title_inactive">
  95.                 <include name="bg_inactive"/>
  96.         </draw_ops>
  97.  
  98.         <!-- Buttons -->
  99.  
  100.         <draw_ops name="button_pressed_bg">
  101.                 <gradient type="vertical" x="0" y="0" width="width" height="height" alpha="0.25">
  102.                         <color value="shade/gtk:bg[SELECTED]/0.75"/>
  103.                         <color value="shade/gtk:bg[SELECTED]/0.5"/>
  104.                 </gradient>
  105.         </draw_ops>
  106.  
  107.         <draw_ops name="button_prelight_bg">
  108.                 <gradient type="vertical" x="0" y="0" width="width" height="height" alpha="0.25">
  109.                         <color value="shade/gtk:bg[SELECTED]/2.0"/>
  110.                         <color value="shade/gtk:bg[SELECTED]/1.5"/>
  111.                 </gradient>
  112.         </draw_ops>
  113.  
  114.         <draw_ops name="menu_button">
  115.                 <include name="bg_button_active"/>
  116.                 <line color="blend/gtk:bg[SELECTED]/gtk:fg[SELECTED]/0.75" width="2" x1="ButtonIPad+1" y1="width/2+2" x2="(width-ButtonIPad)/2+1" y2="width/2+2"/>
  117.                 <line color="blend/gtk:bg[SELECTED]/gtk:fg[SELECTED]/0.75" width="2" x1="ButtonIPad+1" y1="width/2-2" x2="(width-ButtonIPad)/2+1" y2="width/2-2"/>
  118.                 <line color="blend/gtk:bg[SELECTED]/gtk:fg[SELECTED]/0.75" width="2" x1="width-ButtonIPad-1" y1="width/2+2" x2="width-(width-ButtonIPad)/2-1" y2="width/2+2"/>
  119.                 <line color="blend/gtk:bg[SELECTED]/gtk:fg[SELECTED]/0.75" width="2" x1="width-ButtonIPad-1" y1="width/2-2" x2="width-(width-ButtonIPad)/2-1" y2="width/2-2"/>
  120.         </draw_ops>
  121.  
  122.         <draw_ops name="menu_button_pressed">
  123.                 <include name="menu_button"/>
  124.                 <include name="button_pressed_bg"/>
  125.         </draw_ops>
  126.  
  127.         <draw_ops name="menu_button_prelight">
  128.                 <include name="menu_button"/>
  129.                 <include name="button_prelight_bg"/>
  130.         </draw_ops>
  131.  
  132.         <draw_ops name="menu_button_unfocused">
  133.                 <include name="bg_button_inactive"/>
  134.                 <line color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35" width="2" x1="ButtonIPad+1" y1="width/2+2" x2="(width-ButtonIPad)/2+1" y2="width/2+2"/>
  135.                 <line color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35" width="2" x1="ButtonIPad+1" y1="width/2-2" x2="(width-ButtonIPad)/2+1" y2="width/2-2"/>
  136.                 <line color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35" width="2" x1="width-ButtonIPad-1" y1="width/2+2" x2="width-(width-ButtonIPad)/2-1" y2="width/2+2"/>
  137.                 <line color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35" width="2" x1="width-ButtonIPad-1" y1="width/2-2" x2="width-(width-ButtonIPad)/2-1" y2="width/2-2"/>
  138.         </draw_ops>
  139.  
  140.         <draw_ops name="minimize_button">
  141.                 <include name="bg_button_active"/>
  142.                 <line color="blend/gtk:bg[SELECTED]/gtk:fg[SELECTED]/0.75"
  143.                         x1="ButtonIPad"
  144.                         y1="height - ButtonIPad - ThickLineWidth + 1"
  145.                         x2="width - ButtonIPad"
  146.                         y2="height - ButtonIPad - ThickLineWidth + 1"
  147.                         width="3"/> <!-- FIXME allow a constant here -->
  148.         </draw_ops>
  149.  
  150.         <draw_ops name="minimize_button_pressed">
  151.                 <include name="minimize_button"/>
  152.                 <include name="button_pressed_bg"/>
  153.         </draw_ops>
  154.  
  155.         <draw_ops name="minimize_button_prelight">
  156.                 <include name="minimize_button"/>
  157.                 <include name="button_prelight_bg"/>
  158.         </draw_ops>
  159.  
  160.         <draw_ops name="minimize_button_unfocused">
  161.                 <include name="bg_button_inactive"/>
  162.                 <line color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35"
  163.                         x1="ButtonIPad"
  164.                         y1="height - ButtonIPad - ThickLineWidth + 1"
  165.                         x2="width - ButtonIPad"
  166.                         y2="height - ButtonIPad - ThickLineWidth + 1"
  167.                         width="3"/> <!-- FIXME allow a constant here -->
  168.         </draw_ops>
  169.  
  170.         <draw_ops name="maximize_button">
  171.                 <include name="bg_button_active"/>
  172.                 <rectangle color="blend/gtk:bg[SELECTED]/gtk:fg[SELECTED]/0.75" filled="false"
  173.                         x="ButtonIPad" y="ButtonIPad" width="width-ButtonIPad*2-1" height="height-ButtonIPad*2-1"/>
  174.                 <line color="blend/gtk:bg[SELECTED]/gtk:fg[SELECTED]/0.75" width="3"
  175.                         x1="ButtonIPad" y1="ButtonIPad+1" x2="width-ButtonIPad" y2="ButtonIPad+1"/>
  176.         </draw_ops>
  177.  
  178.         <draw_ops name="maximize_button_pressed">
  179.                 <include name="maximize_button"/>
  180.                 <include name="button_pressed_bg"/>
  181.         </draw_ops>
  182.  
  183.         <draw_ops name="maximize_button_prelight">
  184.                 <include name="maximize_button"/>
  185.                 <include name="button_prelight_bg"/>
  186.         </draw_ops>
  187.  
  188.         <draw_ops name="maximize_button_unfocused">
  189.                 <include name="bg_button_inactive"/>
  190.                 <rectangle color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35" filled="false"
  191.                         x="ButtonIPad" y="ButtonIPad" width="width-ButtonIPad*2-1" height="height-ButtonIPad*2-1"/>
  192.                 <line color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35" width="3"
  193.                         x1="ButtonIPad" y1="ButtonIPad+1" x2="width-ButtonIPad" y2="ButtonIPad+1"/>
  194.         </draw_ops>
  195.  
  196.         <draw_ops name="mini_window_icon">
  197.                 <rectangle color="gtk:bg[SELECTED]" filled="true"
  198.                         x="0" y="0" width="width-1" height="height-1"/>
  199.                 <rectangle color="blend/gtk:bg[SELECTED]/gtk:fg[SELECTED]/0.75" filled="false"
  200.                         x="0" y="0" width="width-1" height="height-1"/>
  201.                 <line color="blend/gtk:bg[SELECTED]/gtk:fg[SELECTED]/0.75" width="2"
  202.                         x1="0" y1="1" x2="width" y2="1"/>
  203.         </draw_ops>
  204.  
  205.         <draw_ops name="mini_window_icon_unfocused">
  206.                 <rectangle color="gtk:bg[NORMAL]" filled="true"
  207.                         x="0" y="0" width="width-1" height="height-1"/>
  208.                 <rectangle color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35" filled="false"
  209.                         x="0" y="0" width="width-1" height="height-1"/>
  210.                 <line color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35" width="2"
  211.                         x1="0" y1="1" x2="width" y2="1"/>
  212.         </draw_ops>
  213.  
  214.         <draw_ops name="restore_button">
  215.                 <include name="bg_button_active"/>
  216.                 <include name="mini_window_icon"
  217.                         x="3 + ButtonIPad" y="ButtonIPad"
  218.                         width="width - 7 - ButtonIPad"
  219.                         height="height - 7 - ButtonIPad"/>
  220.                 <include name="mini_window_icon"
  221.                         x="ButtonIPad" y="3 + ButtonIPad"
  222.                         width="width - 7 - ButtonIPad"
  223.                         height="height - 7 - ButtonIPad"/>
  224.         </draw_ops>
  225.  
  226.         <draw_ops name="restore_button_pressed">
  227.                 <include name="restore_button"/>
  228.                 <include name="button_pressed_bg"/>
  229.         </draw_ops>
  230.  
  231.         <draw_ops name="restore_button_prelight">
  232.                 <include name="restore_button"/>
  233.                 <include name="button_prelight_bg"/>
  234.         </draw_ops>
  235.  
  236.         <draw_ops name="restore_button_unfocused">
  237.                 <include name="bg_button_inactive"/>
  238.                 <include name="mini_window_icon_unfocused"
  239.                         x="3 + ButtonIPad" y="ButtonIPad"
  240.                         width="width - 7 - ButtonIPad"
  241.                         height="height - 7 - ButtonIPad"/>
  242.                 <include name="mini_window_icon_unfocused"
  243.                         x="ButtonIPad" y="3 + ButtonIPad"
  244.                         width="width - 7 - ButtonIPad"
  245.                         height="height - 7 - ButtonIPad"/>
  246.         </draw_ops>
  247.  
  248.         <draw_ops name="close_button">
  249.                 <include name="bg_button_active"/>
  250.                 <!-- draw longer lines and clip for 'x' with symmetrical endpoints &lt;joefefifo@yahoo.com&gt;  -->
  251.                 <clip x="ButtonIPad" y="ButtonIPad"
  252.                        width="width - ButtonIPad - 4"
  253.                        height="height - ButtonIPad - 4"/>
  254.                 <line color="blend/gtk:bg[SELECTED]/gtk:fg[SELECTED]/0.75"
  255.                         width="2"
  256.                         x1="ButtonIPad" y1="ButtonIPad"
  257.                         x2="width - ButtonIPad" y2="height - ButtonIPad"/>
  258.                
  259.                 <line color="blend/gtk:bg[SELECTED]/gtk:fg[SELECTED]/0.75"
  260.                         width="2"
  261.                         x1="ButtonIPad" y1="height - ButtonIPad - 1"
  262.                         x2="width - ButtonIPad" y2="ButtonIPad - 1"/>
  263.         </draw_ops>
  264.  
  265.         <draw_ops name="close_button_pressed">
  266.                 <include name="close_button"/>
  267.                 <include name="button_pressed_bg"/>
  268.         </draw_ops>
  269.  
  270.         <draw_ops name="close_button_prelight">
  271.                 <include name="close_button"/>
  272.                 <include name="button_prelight_bg"/>
  273.         </draw_ops>
  274.  
  275.         <draw_ops name="close_button_unfocused">
  276.                 <include name="bg_button_inactive"/>
  277.                 <!-- draw longer lines and clip for 'x' with symmetrical endpoints &lt;joefefifo@yahoo.com&gt; -->
  278.                 <clip x="ButtonIPad" y="ButtonIPad"
  279.                        width="width - ButtonIPad - 4"
  280.                        height="height - ButtonIPad - 4"/>
  281.                 <line color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35"
  282.                         width="2"
  283.                         x1="ButtonIPad" y1="ButtonIPad"
  284.                         x2="width - ButtonIPad" y2="height - ButtonIPad"/>
  285.                 <line color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35"
  286.                         width="2"
  287.                         x1="ButtonIPad" y1="height - ButtonIPad - 1"
  288.                         x2="width - ButtonIPad" y2="ButtonIPad - 1"/>
  289.         </draw_ops>
  290.  
  291.         <draw_ops name="outer_bevel">
  292.                 <rectangle color="#000000"
  293.                         x="0" y="0" width="width-1" height="height-1"/>
  294.                 <line color="gtk:light[NORMAL]"
  295.                         x1="1" y1="1" x2="1" y2="height-2"/>
  296.                 <line color="gtk:light[NORMAL]"
  297.                         x1="1" y1="1" x2="width-2" y2="1"/>
  298.                 <line color="gtk:dark[NORMAL]"
  299.                         x1="width-2" y1="1" x2="width-2" y2="height-2"/>
  300.                 <line color="gtk:dark[NORMAL]"
  301.                         x1="1" y1="height-2" x2="width-2" y2="height-2"/>        
  302.         </draw_ops>
  303.  
  304.         <draw_ops name="blank">
  305.                 <!-- nothing -->
  306.         </draw_ops>
  307.  
  308.         <draw_ops name="focus_outline">
  309.                 <rectangle color="#000000"
  310.                         x="left_width-1" y="top_height-1"
  311.                         width="width-left_width-right_width+1"
  312.                         height="height-top_height-bottom_height+1"/>
  313.         </draw_ops>
  314.  
  315.         <draw_ops name="focus_background">
  316.                 <include name="outer_bevel"/>
  317.                 <include name="focus_outline"/>
  318.         </draw_ops>
  319.  
  320.         <draw_ops name="title_text_focused_with_icon">
  321.                 <clip x="0" y="0" width="width" height="height"/>
  322.                 <title color="gtk:fg[SELECTED]"
  323.                         x="(0 `max` (width-title_width-mini_icon_width-IconTitleSpacing)) / 2 + mini_icon_width + IconTitleSpacing"
  324.                         y="((height - title_height) / 2) `max` 0"/>
  325.                 <icon  x="(0 `max` (width-title_width-mini_icon_width-IconTitleSpacing)) / 2"
  326.                         y="(height-mini_icon_height) / 2"
  327.                         width="mini_icon_width" height="mini_icon_height"/>
  328.         </draw_ops>
  329.  
  330.         <draw_ops name="title_text_focused_no_icon">
  331.                 <clip x="0" y="0" width="width" height="height"/>
  332.                 <title color="gtk:fg[SELECTED]"
  333.                         x="(0 `max` (width-title_width)) / 2"
  334.                         y="((height - title_height) / 2) `max` 0"/>
  335.         </draw_ops>
  336.  
  337.         <draw_ops name="title_text_with_icon">
  338.                 <clip x="0" y="0" width="width" height="height"/>
  339.                 <title color="gtk:fg[INSENSITIVE]"
  340.                         x="(0 `max` (width-title_width-mini_icon_width-IconTitleSpacing)) / 2 + mini_icon_width + IconTitleSpacing"
  341.                         y="((height - title_height) / 2) `max` 0"/>
  342.                 <icon  x="(0 `max` (width-title_width-mini_icon_width-IconTitleSpacing)) / 2"
  343.                         y="(height-mini_icon_height) / 2"
  344.                         width="mini_icon_width" height="mini_icon_height"/>
  345.         </draw_ops>
  346.  
  347.         <draw_ops name="title_text_no_icon">
  348.                 <clip x="0" y="0" width="width" height="height"/>
  349.                 <title color="blend/gtk:fg[INSENSITIVE]/gtk:bg[INSENSITIVE]/0.35"
  350.                         x="(0 `max` (width-title_width)) / 2"
  351.                         y="((height - title_height) / 2) `max` 0"/>
  352.         </draw_ops>
  353.  
  354.         <draw_ops name="title_normal">
  355.                 <include name="bg_title_inactive"/>
  356.                 <include name="title_text_no_icon"/>
  357.         </draw_ops>
  358.  
  359.         <draw_ops name="title_focused">
  360.                 <include name="bg_title_active"/>
  361.                 <include name="title_text_focused_no_icon"/>
  362.         </draw_ops>
  363.  
  364.         <draw_ops name="title_utility">
  365.                 <include name="title_text_no_icon"/>
  366.         </draw_ops>
  367.  
  368.         <draw_ops name="title_utility_focused">
  369.                 <include name="bg_title_active"/>
  370.                 <include name="title_text_focused_no_icon"/>
  371.         </draw_ops>
  372.  
  373.         <frame_style name="normal_unfocused" geometry="normal">
  374.                 <piece position="entire_background" draw_ops="focus_background"/>
  375.                 <piece position="title" draw_ops="title_normal"/>
  376.  
  377.                 <!-- we don't specify for prelight, so normal is used -->
  378.                 <button function="close" state="normal" draw_ops="close_button_unfocused"/>
  379.                 <button function="close" state="pressed" draw_ops="close_button_pressed"/>
  380.                 <button function="minimize" state="normal" draw_ops="minimize_button_unfocused"/>
  381.                 <button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/>
  382.                 <button function="maximize" state="normal" draw_ops="maximize_button_unfocused"/>
  383.                 <button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/>
  384.                 <button function="menu" state="normal" draw_ops="menu_button_unfocused"/>
  385.                 <button function="menu" state="pressed" draw_ops="menu_button_pressed"/>
  386.         </frame_style>
  387.  
  388.         <frame_style name="normal_focused" geometry="normal">
  389.                 <piece position="entire_background" draw_ops="focus_background"/>
  390.                 <piece position="title" draw_ops="title_focused"/>
  391.  
  392.                 <!-- we don't specify for prelight, so normal is used -->
  393.                 <button function="close" state="normal" draw_ops="close_button"/>
  394.                 <button function="close" state="pressed" draw_ops="close_button_pressed"/>
  395.                 <button function="close" state="prelight" draw_ops="close_button_prelight"/>
  396.                 <button function="minimize" state="normal" draw_ops="minimize_button"/>
  397.                 <button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/>
  398.                 <button function="minimize" state="prelight" draw_ops="minimize_button_prelight"/>
  399.                 <button function="maximize" state="normal" draw_ops="maximize_button"/>
  400.                 <button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/>
  401.                 <button function="maximize" state="prelight" draw_ops="maximize_button_prelight"/>
  402.                 <button function="menu" state="normal" draw_ops="menu_button"/>
  403.                 <button function="menu" state="pressed" draw_ops="menu_button_pressed"/>
  404.                 <button function="menu" state="prelight" draw_ops="menu_button_prelight"/>
  405.         </frame_style>
  406.  
  407.         <frame_style name="maximized_unfocused" geometry="normal_small_borders" parent="normal_unfocused">
  408.                 <piece position="entire_background" draw_ops="blank"/>
  409.                 <button function="maximize" state="normal" draw_ops="restore_button_unfocused"/>
  410.                 <button function="maximize" state="pressed" draw_ops="restore_button_pressed"/>
  411.         </frame_style>
  412.  
  413.         <frame_style name="maximized_focused" geometry="normal_small_borders" parent="normal_focused">
  414.                 <piece position="entire_background" draw_ops="focus_outline"/>
  415.                 <button function="maximize" state="normal" draw_ops="restore_button"/>
  416.                 <button function="maximize" state="pressed" draw_ops="restore_button_pressed"/>
  417.                 <button function="maximize" state="prelight" draw_ops="restore_button_prelight"/>
  418.         </frame_style>
  419.  
  420.         <frame_style name="utility_unfocused" geometry="utility" parent="normal_unfocused">
  421.                 <piece position="title" draw_ops="title_utility"/>
  422.         </frame_style>
  423.  
  424.         <frame_style name="utility_focused" geometry="utility" parent="normal_focused">
  425.                 <piece position="title" draw_ops="title_utility_focused"/>
  426.         </frame_style>
  427.  
  428.         <frame_style name="border" geometry="border" parent="normal_unfocused">
  429.                 <piece position="entire_background" draw_ops="outer_bevel"/>
  430.                 <piece position="title" draw_ops="blank"/>
  431.         </frame_style>
  432.  
  433.         <frame_style_set name="normal">
  434.                 <frame focus="yes" state="normal" resize="both" style="normal_focused"/>
  435.                 <frame focus="no" state="normal" resize="both" style="normal_unfocused"/>
  436.                 <frame focus="yes" state="maximized" style="maximized_focused"/>
  437.                 <frame focus="no" state="maximized" style="maximized_unfocused"/>
  438.                 <frame focus="yes" state="shaded" style="normal_focused"/>
  439.                 <frame focus="no" state="shaded" style="normal_unfocused"/>
  440.                 <frame focus="yes" state="maximized_and_shaded" style="maximized_focused"/>
  441.                 <frame focus="no" state="maximized_and_shaded" style="maximized_unfocused"/>
  442.         </frame_style_set>
  443.  
  444.         <frame_style_set name="utility" parent="normal">
  445.                 <frame focus="yes" state="normal" resize="both" style="utility_focused"/>
  446.                 <frame focus="no" state="normal" resize="both" style="utility_unfocused"/>
  447.                 <!-- this is a bunch of crack since utility windows shouldn't be maximized -->
  448.                 <frame focus="yes" state="maximized" style="utility_focused"/>
  449.                 <frame focus="no" state="maximized" style="utility_unfocused"/>
  450.                 <frame focus="yes" state="shaded" style="utility_focused"/>
  451.                 <frame focus="no" state="shaded" style="utility_unfocused"/>
  452.                 <frame focus="yes" state="maximized_and_shaded" style="utility_focused"/>
  453.                 <frame focus="no" state="maximized_and_shaded" style="utility_unfocused"/>
  454.         </frame_style_set>
  455.  
  456.         <frame_style_set name="border">
  457.                 <frame focus="yes" state="normal" resize="both" style="border"/>
  458.                 <frame focus="no" state="normal" resize="both" style="border"/>
  459.                 <frame focus="yes" state="maximized" style="border"/>
  460.                 <frame focus="no" state="maximized" style="border"/>
  461.                 <frame focus="yes" state="shaded" style="border"/>
  462.                 <frame focus="no" state="shaded" style="border"/>
  463.                 <frame focus="yes" state="maximized_and_shaded" style="border"/>
  464.                 <frame focus="no" state="maximized_and_shaded" style="border"/>
  465.         </frame_style_set>
  466.  
  467.         <window type="normal" style_set="normal"/>
  468.         <window type="dialog" style_set="normal"/>
  469.         <window type="modal_dialog" style_set="normal"/>
  470.         <window type="menu" style_set="normal"/>
  471.         <window type="utility" style_set="utility"/>
  472.         <window type="border" style_set="border"/>
  473.  
  474.         <menu_icon function="close" state="normal" draw_ops="close_button"/>
  475.         <menu_icon function="maximize" state="normal" draw_ops="maximize_button"/>
  476.         <menu_icon function="unmaximize" state="normal" draw_ops="restore_button"/>
  477.         <menu_icon function="minimize" state="normal" draw_ops="minimize_button"/>
  478.  
  479. </metacity_theme>
clone this paste RAW Paste Data