Tweaked the WM themes

This commit is contained in:
Satyajit Sahoo
2013-03-30 14:01:12 +05:30
parent d6bf0ff953
commit 864ff9ddc5
29 changed files with 481 additions and 458 deletions
+15 -16
View File
@@ -65,17 +65,18 @@
</draw_ops>
<!-- ::: BORDER OUTLINE ::: -->
<draw_ops name="border">
<line color="#2d2d2d" x1="0" y1="0" x2="width" y2="0"/>
<line color="#2d2d2d" x1="4" y1="1" x2="width-1" y2="1"/>
<line color="#2d2d2d" x1="0" y1="0" x2="0" y2="height"/>
<line color="#2d2d2d" x1="width-1" y1="0" x2="width-1" y2="height"/>
<line color="#2d2d2d" x1="0" y1="height-1" x2="width" y2="height-1"/>
<draw_ops name="border_focused">
<line color="#484848" x1="0" y1="0" x2="width" y2="0"/>
<line color="#484848" x1="0" y1="0" x2="0" y2="height"/>
<line color="#484848" x1="width-1" y1="0" x2="width-1" y2="height"/>
<line color="#484848" x1="0" y1="height-1" x2="width" y2="height-1"/>
</draw_ops>
<draw_ops name="maxed_border">
<line color="#2d2d2d" x1="0" y1="0" x2="width" y2="0"/>
<line color="#2d2d2d" x1="0" y1="height-1" x2="width" y2="height-1"/>
<draw_ops name="border_unfocused">
<line color="#393939" x1="0" y1="0" x2="width" y2="0"/>
<line color="#393939" x1="0" y1="0" x2="0" y2="height"/>
<line color="#393939" x1="width-1" y1="0" x2="width-1" y2="height"/>
<line color="#393939" x1="0" y1="height-1" x2="width" y2="height-1"/>
</draw_ops>
<!-- ::: TITLEBAR ::: -->
@@ -89,33 +90,31 @@
<draw_ops name="titlebar_maximized">
<include name="titlebar_gradient"/>
<include name="maxed_border"/>
</draw_ops>
<draw_ops name="titlebar_maximized_unfocused">
<include name="titlebar_gradient_unfocused"/>
<include name="maxed_border"/>
</draw_ops>
<draw_ops name="round_titlebar">
<include name="titlebar_gradient"/>
<include name="border"/>
<include name="border_focused"/>
<include name="corners_outline"/>
</draw_ops>
<draw_ops name="round_titlebar_unfocused">
<include name="titlebar_gradient_unfocused"/>
<include name="border"/>
<include name="border_unfocused"/>
<include name="corners_outline"/>
</draw_ops>
<draw_ops name="titlebar_shaded">
<include name="border"/>
<include name="border_focused"/>
<line color="#2d2d2d" x1="0" y1="height-1" x2="width" y2="height-1"/>
</draw_ops>
<draw_ops name="round_titlebar_shaded">
<include name="border"/>
<include name="border_focused"/>
<include name="corners_outline"/>
<line color="#2d2d2d" x1="5" y1="height-1" x2="width-6" y2="height-1"/>
</draw_ops>
@@ -330,7 +329,7 @@
</frame_style>
<frame_style name="border" geometry="border" parent="normal">
<piece position="entire_background" draw_ops="border"/>
<piece position="entire_background" draw_ops="border_focused"/>
<piece position="title" draw_ops="blank"/>
</frame_style>
+11 -11
View File
@@ -15,7 +15,7 @@
<constant name="C_title_unfocused" value="gtk:custom(wm_title_unfocused,blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.6)" />
<!-- ::: GEOMETRY ::: -->
<frame_geometry name="normal" title_scale="medium" rounded_top_left="2" rounded_top_right="2">
<frame_geometry name="normal" title_scale="medium" rounded_top_left="1" rounded_top_right="1">
<distance name="left_width" value="1" />
<distance name="right_width" value="1" />
<distance name="bottom_height" value="1" />
@@ -27,7 +27,7 @@
<border name="button_border" left="0" right="0" top="0" bottom="0" />
</frame_geometry>
<frame_geometry name="normal_unfocused" title_scale="medium" rounded_top_left="2" rounded_top_right="2" parent="normal" />
<frame_geometry name="normal_unfocused" title_scale="medium" rounded_top_left="1" rounded_top_right="1" parent="normal" />
<frame_geometry name="max" title_scale="medium" parent="normal" rounded_top_left="false" rounded_top_right="false">
<distance name="left_width" value="0" />
@@ -68,7 +68,7 @@
<border name="button_border" left="0" right="0" top="0" bottom="0" />
</frame_geometry>
<frame_geometry name="modal" title_scale="small" hide_buttons="true" rounded_top_left="2" rounded_top_right="2" rounded_bottom_right="2" rounded_bottom_left="2" parent="small">
<frame_geometry name="modal" title_scale="small" hide_buttons="true" rounded_top_left="1" rounded_top_right="1" rounded_bottom_right="2" rounded_bottom_left="2" parent="small">
<distance name="title_vertical_pad" value="0" />
</frame_geometry>
@@ -147,11 +147,11 @@
<line color="C_border_focused" x1="0" y1="height-1" x2="width-1" y2="height-1" />
<line color="C_border_focused" x1="0" y1="2" x2="0" y2="height-2" />
<line color="C_border_focused" x1="width-1" y1="2" x2="width-1" y2="height-2" />
<arc color="C_border_focused" x="0" y="0" width="5" height="5" start_angle="270" extent_angle="90" />
<arc color="C_border_focused" x="width-5" y="0" width="4" height="5" start_angle="0" extent_angle="90" />
<arc color="C_border_focused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" />
<arc color="C_border_focused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" />
<!-- double arcs for darker borders -->
<arc color="C_border_focused" x="0" y="0" width="5" height="5" start_angle="270" extent_angle="90" />
<arc color="C_border_focused" x="width-5" y="0" width="4" height="5" start_angle="0" extent_angle="90" />
<arc color="C_border_focused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" />
<arc color="C_border_focused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" />
</draw_ops>
<draw_ops name="rounded_border_unfocused">
@@ -159,11 +159,11 @@
<line color="C_border_unfocused" x1="0" y1="height-1" x2="width-1" y2="height-1" />
<line color="C_border_unfocused" x1="0" y1="2" x2="0" y2="height-2" />
<line color="C_border_unfocused" x1="width-1" y1="2" x2="width-1" y2="height-2" />
<arc color="C_border_unfocused" x="0" y="0" width="5" height="5" start_angle="270" extent_angle="90" />
<arc color="C_border_unfocused" x="width-5" y="0" width="4" height="5" start_angle="0" extent_angle="90" />
<arc color="C_border_unfocused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" />
<arc color="C_border_unfocused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" />
<!-- double arcs for darker borders -->
<arc color="C_border_unfocused" x="0" y="0" width="5" height="5" start_angle="270" extent_angle="90" />
<arc color="C_border_unfocused" x="width-5" y="0" width="4" height="5" start_angle="0" extent_angle="90" />
<arc color="C_border_unfocused" x="0" y="0" width="3" height="3" start_angle="270" extent_angle="90" />
<arc color="C_border_unfocused" x="width-3" y="0" width="2" height="3" start_angle="0" extent_angle="90" />
</draw_ops>
<draw_ops name="border_right_focused">