123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794 |
- <?xml version="1.0"?>
- <metacity_theme>
- <info>
- <name>Tokyonight</name>
- <author>vinceliucie | mod: f.korpsvart</author>
- <copyright>GPL</copyright>
- <date>2023</date>
- <description>Tokyonight Metacity theme</description>
- </info>
- <!-- meaningful constants -->
- <constant name="C_titlebar_focused" value="gtk:custom(wm_bg,gtk:bg[NORMAL])" />
- <constant name="C_titlebar_unfocused" value="gtk:custom(wm_unfocused_bg,gtk:bg[NORMAL])" />
- <constant name="C_highlight_focused" value="gtk:custom(wm_highlight,gtk:base[NORMAL])" />
- <constant name="C_highlight_unfocused" value="gtk:custom(wm_highlight,gtk:base[NORMAL])" />
- <constant name="C_title_focused" value="gtk:custom(wm_title,gtk:fg[NORMAL])" />
- <constant name="C_title_unfocused" value="gtk:custom(wm_unfocused_title,gtk:fg[INSENSITIVE])" />
- <constant name="C_button_close_icon" value="gtk:custom(wm_button_close_icon,gtk:base[NORMAL])" />
- <constant name="C_button_close_bg_hover"
- value="gtk:custom(wm_button_close_hover_bg,gtk:fg[INSENSITIVE])" />
- <constant name="C_button_close_bg_active"
- value="gtk:custom(wm_button_close_active_bg,gtk:fg[INSENSITIVE])" />
- <!-- geometries -->
- <frame_geometry name="normal" title_scale="medium" rounded_top_left="12" rounded_top_right="12">
- <distance name="left_width" value="0" />
- <distance name="right_width" value="0" />
- <distance name="bottom_height" value="0" />
- <distance name="left_titlebar_edge" value="0" />
- <distance name="right_titlebar_edge" value="0" />
- <distance name="title_vertical_pad" value="18" />
- <border name="title_border" left="10" right="10" top="0" bottom="0" />
- <border name="button_border" left="0" right="0" top="0" bottom="0" />
- <aspect_ratio name="button" value="1" />
- </frame_geometry>
- <frame_geometry name="max" rounded_top_left="false" rounded_top_right="false" parent="normal">
- <distance name="left_width" value="0" />
- <distance name="right_width" value="0" />
- <distance name="bottom_height" value="0" />
- </frame_geometry>
- <frame_geometry name="tiled_left" parent="max">
- <distance name="right_width" value="0" />
- </frame_geometry>
- <frame_geometry name="tiled_right" parent="max">
- <distance name="left_width" value="0" />
- </frame_geometry>
- <frame_geometry name="nobuttons" hide_buttons="true" parent="normal">
- </frame_geometry>
- <frame_geometry name="modal" parent="normal">
- </frame_geometry>
- <frame_geometry name="small" title_scale="small" parent="normal">
- <distance name="title_vertical_pad" value="8" />
- </frame_geometry>
- <frame_geometry name="border" has_title="false" rounded_top_left="false" rounded_top_right="false"
- parent="normal">
- <distance name="left_width" value="0" />
- <distance name="right_width" value="0" />
- <distance name="bottom_height" value="0" />
- <distance name="title_vertical_pad" value="0" />
- <border name="title_border" left="10" right="10" top="0" bottom="0" />
- <border name="button_border" left="0" right="0" top="0" bottom="0" />
- </frame_geometry>
- <frame_geometry name="borderless" has_title="false" rounded_top_left="false"
- rounded_top_right="false" parent="normal">
- <distance name="left_width" value="0" />
- <distance name="right_width" value="0" />
- <distance name="bottom_height" value="0" />
- <distance name="title_vertical_pad" value="0" />
- <border name="button_border" left="0" right="0" top="0" bottom="0" />
- <border name="title_border" left="0" right="0" top="0" bottom="0" />
- </frame_geometry>
- <frame_geometry name="attached" hide_buttons="true" rounded_bottom_left="8"
- rounded_bottom_right="8" parent="normal">
- <distance name="title_vertical_pad" value="8" />
- </frame_geometry>
- <!-- drawing operations -->
- <!-- title -->
- <draw_ops name="title_focused">
- <title version="< 3.1"
- x="(0 `max` ((width - title_width) / 2))"
- y="(0 `max` ((height - title_height) / 2))"
- color="C_title_focused" />
- <title version=">= 3.1"
- x="(0 `max` ((frame_x_center - title_width / 2) `min` (width - title_width)))"
- y="(0 `max` ((height - title_height) / 2))"
- ellipsize_width="width"
- color="C_title_focused" />
- </draw_ops>
- <draw_ops name="title_unfocused">
- <title version="< 3.1"
- x="(0 `max` ((width - title_width) / 2))"
- y="(0 `max` ((height - title_height) / 2))"
- color="C_title_unfocused" />
- <title version=">= 3.1"
- x="(0 `max` ((frame_x_center - title_width / 2) `min` (width - title_width)))"
- y="(0 `max` ((height - title_height) / 2))"
- ellipsize_width="width"
- color="C_title_unfocused" />
- </draw_ops>
- <!-- window decorations -->
- <draw_ops name="entire_background_focused">
- <rectangle color="C_titlebar_focused" x="0" y="0" width="width" height="height" filled="true" />
- </draw_ops>
- <draw_ops name="entire_background_unfocused">
- <rectangle color="C_titlebar_unfocused" x="0" y="0" width="width" height="height" filled="true" />
- </draw_ops>
- <draw_ops name="highlight_focused">
- <line color="C_highlight_focused" x1="4" y1="0" x2="width - 5" y2="0" />
- <arc color="C_highlight_focused" x="0 - 1" y="0" width="13" height="13" start_angle="270"
- extent_angle="90" />
- <arc color="C_highlight_focused" x="width - 13" y="0" width="13" height="13" start_angle="0"
- extent_angle="90" />
- </draw_ops>
- <draw_ops name="highlight_unfocused">
- <line color="C_highlight_unfocused" x1="4" y1="0" x2="width - 5" y2="0" />
- <arc color="C_highlight_unfocused" x="0 - 1" y="0" width="13" height="13" start_angle="270"
- extent_angle="90" />
- <arc color="C_highlight_unfocused" x="width - 13" y="0" width="13" height="13" start_angle="0"
- extent_angle="90" />
- </draw_ops>
- <draw_ops name="titlebar_focused">
- <include name="entire_background_focused" />
- <include name="highlight_focused" />
- </draw_ops>
- <draw_ops name="titlebar_unfocused">
- <include name="entire_background_unfocused" />
- <include name="highlight_unfocused" />
- </draw_ops>
- <!-- button icons -->
- <!-- close -->
- <draw_ops name="close_focused">
- <image filename="assets/close.svg" x="(width - object_width) / 2"
- y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7"
- colorize="C_title_focused" />
- </draw_ops>
- <draw_ops name="close_focused_prelight">
- <image filename="assets/button.svg" colorize="C_button_close_bg_hover"
- x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width"
- height="object_height" />
- <image filename="assets/close.svg" x="(width - object_width) / 2"
- y="(height - object_height) / 2" width="object_width" height="object_height"
- colorize="C_titlebar_focused" />
- </draw_ops>
- <draw_ops name="close_focused_pressed">
- <image filename="assets/button.svg" colorize="C_button_close_bg_active"
- x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width"
- height="object_height" />
- <image filename="assets/close.svg" x="(width - object_width) / 2"
- y="(height - object_height) / 2" width="object_width" height="object_height"
- colorize="C_titlebar_focused" />
- </draw_ops>
- <draw_ops name="close_unfocused">
- <image filename="assets/close.svg" x="(width - object_width) / 2"
- y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7"
- colorize="C_title_unfocused" />
- </draw_ops>
- <draw_ops name="close_unfocused_prelight">
- <image filename="assets/button.svg" alpha="0.7" colorize="C_button_close_bg_hover"
- x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width"
- height="object_height" />
- <image filename="assets/close.svg" x="(width - object_width) / 2"
- y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7"
- colorize="C_titlebar_unfocused" />
- </draw_ops>
- <draw_ops name="close_unfocused_pressed">
- <image filename="assets/button.svg" alpha="0.7" colorize="C_button_close_bg_active"
- x="(width - object_width) / 2" y="(height - object_height) / 2" width="object_width"
- height="object_height" />
- <image filename="assets/close.svg" x="(width - object_width) / 2"
- y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7"
- colorize="C_titlebar_unfocused" />
- </draw_ops>
- <!-- maximize -->
- <draw_ops name="maximize_focused">
- <image filename="assets/maximize.svg" x="(width - object_width) / 2"
- y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7"
- colorize="C_title_focused" />
- </draw_ops>
- <draw_ops name="maximize_focused_prelight">
- <include name="maximize_focused" />
- </draw_ops>
- <draw_ops name="maximize_focused_pressed">
- <include name="maximize_focused" />
- </draw_ops>
- <draw_ops name="maximize_unfocused">
- <image filename="assets/maximize.svg" x="(width - object_width) / 2"
- y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7"
- colorize="C_title_unfocused" />
- </draw_ops>
- <draw_ops name="maximize_unfocused_prelight">
- <include name="maximize_unfocused" />
- </draw_ops>
- <draw_ops name="maximize_unfocused_pressed">
- <include name="maximize_unfocused" />
- </draw_ops>
- <!-- unmaximize -->
- <draw_ops name="unmaximize_focused">
- <image filename="assets/unmaximize.svg" x="(width - object_width) / 2"
- y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7"
- colorize="C_title_focused" />
- </draw_ops>
- <draw_ops name="unmaximize_focused_prelight">
- <include name="unmaximize_focused" />
- </draw_ops>
- <draw_ops name="unmaximize_focused_pressed">
- <include name="unmaximize_focused" />
- </draw_ops>
- <draw_ops name="unmaximize_unfocused">
- <image filename="assets/unmaximize.svg" x="(width - object_width) / 2"
- y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7"
- colorize="C_title_unfocused" />
- </draw_ops>
- <draw_ops name="unmaximize_unfocused_prelight">
- <include name="unmaximize_unfocused" />
- </draw_ops>
- <draw_ops name="unmaximize_unfocused_pressed">
- <include name="unmaximize_unfocused" />
- </draw_ops>
- <!-- minimize -->
- <draw_ops name="minimize_focused">
- <image filename="assets/minimize.svg" x="(width - object_width) / 2"
- y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7"
- colorize="C_title_focused" />
- </draw_ops>
- <draw_ops name="minimize_focused_prelight">
- <include name="minimize_focused" />
- </draw_ops>
- <draw_ops name="minimize_focused_pressed">
- <include name="minimize_focused" />
- </draw_ops>
- <draw_ops name="minimize_unfocused">
- <image filename="assets/minimize.svg" x="(width - object_width) / 2"
- y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7"
- colorize="C_title_unfocused" />
- </draw_ops>
- <draw_ops name="minimize_unfocused_prelight">
- <include name="minimize_unfocused" />
- </draw_ops>
- <draw_ops name="minimize_unfocused_pressed">
- <include name="minimize_unfocused" />
- </draw_ops>
- <!-- menu -->
- <draw_ops name="menu_focused">
- <image filename="assets/menu.svg" x="(width - object_width) / 2"
- y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7"
- colorize="C_title_focused" />
- </draw_ops>
- <draw_ops name="menu_focused_prelight">
- <include name="menu_focused" />
- </draw_ops>
- <draw_ops name="menu_focused_pressed">
- <include name="menu_focused" />
- </draw_ops>
- <draw_ops name="menu_unfocused">
- <image filename="assets/menu.svg" x="(width - object_width) / 2"
- y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7"
- colorize="C_title_unfocused" />
- </draw_ops>
- <draw_ops name="menu_unfocused_prelight">
- <include name="menu_unfocused" />
- </draw_ops>
- <draw_ops name="menu_unfocused_pressed">
- <include name="menu_unfocused" />
- </draw_ops>
- <!-- shade -->
- <draw_ops name="shade_focused">
- <image filename="assets/shade.svg" x="(width - object_width) / 2"
- y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7"
- colorize="C_title_focused" />
- </draw_ops>
- <draw_ops name="shade_focused_prelight">
- <include name="shade_focused" />
- </draw_ops>
- <draw_ops name="shade_focused_pressed">
- <include name="shade_focused" />
- </draw_ops>
- <draw_ops name="shade_unfocused">
- <image filename="assets/shade.svg" x="(width - object_width) / 2"
- y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7"
- colorize="C_title_unfocused" />
- </draw_ops>
- <draw_ops name="shade_unfocused_prelight">
- <include name="shade_unfocused" />
- </draw_ops>
- <draw_ops name="shade_unfocused_pressed">
- <include name="shade_unfocused" />
- </draw_ops>
- <!-- unshade -->
- <draw_ops name="unshade_focused">
- <image filename="assets/unshade.svg" x="(width - object_width) / 2"
- y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7"
- colorize="C_title_focused" />
- </draw_ops>
- <draw_ops name="unshade_focused_prelight">
- <include name="unshade_focused" />
- </draw_ops>
- <draw_ops name="unshade_focused_pressed">
- <include name="unshade_focused" />
- </draw_ops>
- <draw_ops name="unshade_unfocused">
- <image filename="assets/unshade.svg" x="(width - object_width) / 2"
- y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.7"
- colorize="C_title_unfocused" />
- </draw_ops>
- <draw_ops name="unshade_unfocused_prelight">
- <include name="unshade_unfocused" />
- </draw_ops>
- <draw_ops name="unshade_unfocused_pressed">
- <include name="unshade_unfocused" />
- </draw_ops>
- <!-- appmenu -->
- <constant name="D_appmenu_icon_size" value="16" />
- <draw_ops name="appmenu_focused">
- <icon
- x="(width - D_appmenu_icon_size) / 2" y="(height - D_appmenu_icon_size) / 2"
- width="D_appmenu_icon_size" height="D_appmenu_icon_size" />
- </draw_ops>
- <draw_ops name="appmenu_focused_prelight">
- <include name="appmenu_focused" />
- </draw_ops>
- <draw_ops name="appmenu_focused_pressed">
- <include name="appmenu_focused" />
- </draw_ops>
- <draw_ops name="appmenu_unfocused">
- <icon
- x="(width - D_appmenu_icon_size) / 2" y="(height - D_appmenu_icon_size) / 2"
- width="D_appmenu_icon_size" height="D_appmenu_icon_size"
- alpha="0.7" />
- </draw_ops>
- <draw_ops name="appmenu_unfocused_prelight">
- <include name="appmenu_unfocused" />
- </draw_ops>
- <draw_ops name="appmenu_unfocused_pressed">
- <include name="appmenu_unfocused" />
- </draw_ops>
- <!-- button backgrounds -->
- <draw_ops name="button_focused">
- </draw_ops>
- <draw_ops name="button_focused_prelight">
- <image filename="assets/button.svg" x="(width - object_width) / 2"
- y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.08"
- colorize="C_title_focused" />
- </draw_ops>
- <draw_ops name="button_focused_pressed">
- <image filename="assets/button.svg" x="(width - object_width) / 2"
- y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.2"
- colorize="C_title_focused" />
- </draw_ops>
- <draw_ops name="button_unfocused">
- </draw_ops>
- <draw_ops name="button_unfocused_prelight">
- <image filename="assets/button.svg" x="(width - object_width) / 2"
- y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.08"
- colorize="C_title_unfocused" />
- </draw_ops>
- <draw_ops name="button_unfocused_pressed">
- <image filename="assets/button.svg" x="(width - object_width) / 2"
- y="(height - object_height) / 2" width="object_width" height="object_height" alpha="0.2"
- colorize="C_title_unfocused" />
- </draw_ops>
- <!-- frame styles -->
- <frame_style name="normal_focused" geometry="normal">
- <piece position="entire_background" draw_ops="entire_background_focused" />
- <piece position="titlebar" draw_ops="titlebar_focused" />
- <piece position="title" draw_ops="title_focused" />
- <button function="close" state="normal" draw_ops="close_focused" />
- <button function="close" state="prelight" draw_ops="close_focused_prelight" />
- <button function="close" state="pressed" draw_ops="close_focused_pressed" />
- <button function="maximize" state="normal" draw_ops="maximize_focused" />
- <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" />
- <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" />
- <button function="minimize" state="normal" draw_ops="minimize_focused" />
- <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" />
- <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" />
- <button function="menu" state="normal" draw_ops="menu_focused" />
- <button function="menu" state="prelight" draw_ops="menu_focused_prelight" />
- <button function="menu" state="pressed" draw_ops="menu_focused_pressed" />
- <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_focused" />
- <button version=">= 3.5" function="appmenu" state="prelight" draw_ops="appmenu_focused_prelight" />
- <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_focused_pressed" />
- <button function="shade" state="normal" draw_ops="shade_focused" />
- <button function="shade" state="prelight" draw_ops="shade_focused_prelight" />
- <button function="shade" state="pressed" draw_ops="shade_focused_pressed" />
- <button function="unshade" state="normal" draw_ops="unshade_focused" />
- <button function="unshade" state="prelight" draw_ops="unshade_focused_prelight" />
- <button function="unshade" state="pressed" draw_ops="unshade_focused_pressed" />
- <button function="left_middle_background" state="normal" draw_ops="button_focused" />
- <button function="left_middle_background" state="prelight" draw_ops="button_focused_prelight" />
- <button function="left_middle_background" state="pressed" draw_ops="button_focused_pressed" />
- <button function="right_middle_background" state="normal" draw_ops="button_focused" />
- <button function="right_middle_background" state="prelight" draw_ops="button_focused_prelight" />
- <button function="right_middle_background" state="pressed" draw_ops="button_focused_pressed" />
- <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></draw_ops>
- </button>
- <button function="stick" state="pressed">
- <draw_ops></draw_ops>
- </button>
- <button function="unstick" state="normal">
- <draw_ops></draw_ops>
- </button>
- <button function="unstick" state="pressed">
- <draw_ops></draw_ops>
- </button>
- </frame_style>
- <frame_style name="normal_unfocused" geometry="normal">
- <piece position="entire_background" draw_ops="entire_background_unfocused" />
- <piece position="titlebar" draw_ops="titlebar_unfocused" />
- <piece position="title" draw_ops="title_unfocused" />
- <button function="close" state="normal" draw_ops="close_unfocused" />
- <button function="close" state="prelight" draw_ops="close_unfocused_prelight" />
- <button function="close" state="pressed" draw_ops="close_unfocused_pressed" />
- <button function="maximize" state="normal" draw_ops="maximize_unfocused" />
- <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight" />
- <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed" />
- <button function="minimize" state="normal" draw_ops="minimize_unfocused" />
- <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight" />
- <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed" />
- <button function="menu" state="normal" draw_ops="menu_unfocused" />
- <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" />
- <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" />
- <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_unfocused" />
- <button version=">= 3.5" function="appmenu" state="prelight"
- draw_ops="appmenu_unfocused_prelight" />
- <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_unfocused_pressed" />
- <button function="shade" state="normal" draw_ops="shade_unfocused" />
- <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" />
- <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" />
- <button function="unshade" state="normal" draw_ops="unshade_unfocused" />
- <button function="unshade" state="prelight" draw_ops="unshade_unfocused_prelight" />
- <button function="unshade" state="pressed" draw_ops="unshade_unfocused_pressed" />
- <button function="left_middle_background" state="normal" draw_ops="button_unfocused" />
- <button function="left_middle_background" state="prelight" draw_ops="button_unfocused_prelight" />
- <button function="left_middle_background" state="pressed" draw_ops="button_unfocused_pressed" />
- <button function="right_middle_background" state="normal" draw_ops="button_unfocused" />
- <button function="right_middle_background" state="prelight" draw_ops="button_unfocused_prelight" />
- <button function="right_middle_background" state="pressed" draw_ops="button_unfocused_pressed" />
- <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></draw_ops>
- </button>
- <button function="stick" state="pressed">
- <draw_ops></draw_ops>
- </button>
- <button function="unstick" state="normal">
- <draw_ops></draw_ops>
- </button>
- <button function="unstick" state="pressed">
- <draw_ops></draw_ops>
- </button>
- </frame_style>
- <frame_style name="normal_max_focused" geometry="max" parent="normal_focused">
- <piece position="titlebar" draw_ops="entire_background_focused" />
- <button function="maximize" state="normal" draw_ops="unmaximize_focused" />
- <button function="maximize" state="pressed" draw_ops="unmaximize_focused_pressed" />
- <button function="maximize" state="prelight" draw_ops="unmaximize_focused_prelight" />
- </frame_style>
- <frame_style name="normal_max_unfocused" geometry="max" parent="normal_unfocused">
- <piece position="titlebar" draw_ops="entire_background_unfocused" />
- <button function="maximize" state="normal" draw_ops="unmaximize_unfocused" />
- <button function="maximize" state="pressed" draw_ops="unmaximize_unfocused_pressed" />
- <button function="maximize" state="prelight" draw_ops="unmaximize_unfocused_prelight" />
- </frame_style>
- <frame_style name="tiled_left_focused" geometry="tiled_left" parent="normal_focused">
- <piece position="titlebar" draw_ops="entire_background_focused" />
- </frame_style>
- <frame_style name="tiled_left_unfocused" geometry="tiled_left" parent="normal_unfocused">
- <piece position="titlebar" draw_ops="entire_background_unfocused" />
- </frame_style>
- <frame_style name="tiled_right_focused" geometry="tiled_right" parent="normal_focused">
- <piece position="titlebar" draw_ops="entire_background_focused" />
- </frame_style>
- <frame_style name="tiled_right_unfocused" geometry="tiled_right" parent="normal_unfocused">
- <piece position="titlebar" draw_ops="entire_background_unfocused" />
- </frame_style>
- <frame_style name="dialog_focused" geometry="modal" parent="normal_focused">
- </frame_style>
- <frame_style name="dialog_unfocused" geometry="modal" parent="normal_unfocused">
- </frame_style>
- <frame_style name="modal_dialog_focused" geometry="modal" parent="normal_focused">
- </frame_style>
- <frame_style name="modal_dialog_unfocused" geometry="modal" parent="normal_unfocused">
- </frame_style>
- <frame_style name="utility_focused" geometry="small" parent="normal_focused">
- </frame_style>
- <frame_style name="utility_unfocused" geometry="small" parent="normal_unfocused">
- </frame_style>
- <frame_style name="border_focused" geometry="border" parent="normal_focused">
- </frame_style>
- <frame_style name="border_unfocused" geometry="border" parent="normal_unfocused">
- </frame_style>
- <frame_style name="borderless_focused" geometry="borderless" parent="normal_focused">
- </frame_style>
- <frame_style name="borderless_unfocused" geometry="borderless" parent="normal_unfocused">
- </frame_style>
- <frame_style name="attached_focused" geometry="attached" parent="modal_dialog_focused">
- </frame_style>
- <frame_style name="attached_unfocused" geometry="attached" parent="modal_dialog_unfocused">
- </frame_style>
- <!-- placeholder for unimplementated styles-->
- <frame_style name="blank" geometry="normal">
- <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>
- <button version=">= 3.5" function="appmenu" state="normal">
- <draw_ops></draw_ops>
- </button>
- <button version=">= 3.5" function="appmenu" state="pressed">
- <draw_ops></draw_ops>
- </button>
- <button function="shade" state="normal">
- <draw_ops></draw_ops>
- </button>
- <button function="shade" state="pressed">
- <draw_ops></draw_ops>
- </button>
- <button function="unshade" state="normal">
- <draw_ops></draw_ops>
- </button>
- <button function="unshade" state="pressed">
- <draw_ops></draw_ops>
- </button>
- <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></draw_ops>
- </button>
- <button function="stick" state="pressed">
- <draw_ops></draw_ops>
- </button>
- <button function="unstick" state="normal">
- <draw_ops></draw_ops>
- </button>
- <button function="unstick" state="pressed">
- <draw_ops></draw_ops>
- </button>
- </frame_style>
- <!-- frame style sets -->
- <frame_style_set name="normal_style_set">
- <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="normal_max_focused" />
- <frame focus="no" state="maximized" style="normal_max_unfocused" />
- <frame focus="yes" state="shaded" style="normal_focused" />
- <frame focus="no" state="shaded" style="normal_unfocused" />
- <frame focus="yes" state="maximized_and_shaded" style="normal_max_focused" />
- <frame focus="no" state="maximized_and_shaded" style="normal_max_unfocused" />
- <frame version=">= 3.3" focus="yes" state="tiled_left" style="tiled_left_focused" />
- <frame version=">= 3.3" focus="no" state="tiled_left" style="tiled_left_unfocused" />
- <frame version=">= 3.3" focus="yes" state="tiled_right" style="tiled_right_focused" />
- <frame version=">= 3.3" focus="no" state="tiled_right" style="tiled_right_unfocused" />
- <frame version=">= 3.3" focus="yes" state="tiled_left_and_shaded" style="tiled_left_focused" />
- <frame version=">= 3.3" focus="no" state="tiled_left_and_shaded" style="tiled_left_unfocused" />
- <frame version=">= 3.3" focus="yes" state="tiled_right_and_shaded" style="tiled_right_focused" />
- <frame version=">= 3.3" focus="no" state="tiled_right_and_shaded" style="tiled_right_unfocused" />
- </frame_style_set>
- <frame_style_set name="dialog_style_set">
- <frame focus="yes" state="normal" resize="both" style="dialog_focused" />
- <frame focus="no" state="normal" resize="both" style="dialog_unfocused" />
- <frame focus="yes" state="maximized" style="blank" />
- <frame focus="no" state="maximized" style="blank" />
- <frame focus="yes" state="shaded" style="dialog_focused" />
- <frame focus="no" state="shaded" style="dialog_unfocused" />
- <frame focus="yes" state="maximized_and_shaded" style="blank" />
- <frame focus="no" state="maximized_and_shaded" style="blank" />
- </frame_style_set>
- <frame_style_set name="modal_dialog_style_set">
- <frame focus="yes" state="normal" resize="both" style="modal_dialog_focused" />
- <frame focus="no" state="normal" resize="both" style="modal_dialog_unfocused" />
- <frame focus="yes" state="maximized" style="blank" />
- <frame focus="no" state="maximized" style="blank" />
- <frame focus="yes" state="shaded" style="modal_dialog_focused" />
- <frame focus="no" state="shaded" style="modal_dialog_unfocused" />
- <frame focus="yes" state="maximized_and_shaded" style="blank" />
- <frame focus="no" state="maximized_and_shaded" style="blank" />
- </frame_style_set>
- <frame_style_set name="utility_style_set">
- <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="blank" />
- <frame focus="no" state="maximized" style="blank" />
- <frame focus="yes" state="shaded" style="utility_focused" />
- <frame focus="no" state="shaded" style="utility_unfocused" />
- <frame focus="yes" state="maximized_and_shaded" style="blank" />
- <frame focus="no" state="maximized_and_shaded" style="blank" />
- </frame_style_set>
- <frame_style_set name="border_style_set">
- <frame focus="yes" state="normal" resize="both" style="border_focused" />
- <frame focus="no" state="normal" resize="both" style="border_unfocused" />
- <frame focus="yes" state="maximized" style="borderless_focused" />
- <frame focus="no" state="maximized" style="borderless_unfocused" />
- <frame focus="yes" state="shaded" style="blank" />
- <frame focus="no" state="shaded" style="blank" />
- <frame focus="yes" state="maximized_and_shaded" style="blank" />
- <frame focus="no" state="maximized_and_shaded" style="blank" />
- </frame_style_set>
- <frame_style_set name="attached_style_set">
- <frame focus="yes" state="normal" resize="both" style="attached_focused" />
- <frame focus="no" state="normal" resize="both" style="attached_unfocused" />
- <frame focus="yes" state="maximized" style="blank" />
- <frame focus="no" state="maximized" style="blank" />
- <frame focus="yes" state="shaded" style="blank" />
- <frame focus="no" state="shaded" style="blank" />
- <frame focus="yes" state="maximized_and_shaded" style="blank" />
- <frame focus="no" state="maximized_and_shaded" style="blank" />
- </frame_style_set>
- <!-- windows -->
- <window type="normal" style_set="normal_style_set" />
- <window type="dialog" style_set="dialog_style_set" />
- <window type="modal_dialog" style_set="modal_dialog_style_set" />
- <window type="menu" style_set="utility_style_set" />
- <window type="utility" style_set="utility_style_set" />
- <window type="border" style_set="border_style_set" />
- <window version=">= 3.2" type="attached" style_set="attached_style_set" />
- </metacity_theme>
|