Skip to content

Instantly share code, notes, and snippets.

@aslakknutsen
Created February 25, 2014 22:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aslakknutsen/9219693 to your computer and use it in GitHub Desktop.
Save aslakknutsen/9219693 to your computer and use it in GitHub Desktop.
Remove TopBar in full screen mode
[aslak@localhost:/usr/share/themes/Adwaita/metacity-1]$ diff metacity-theme-3.xml metacity-theme-3.xml_back
51c51
< <frame_geometry name="max" has_title="false" title_scale="medium" parent="normal" rounded_top_left="false" rounded_top_right="false">
---
> <frame_geometry name="max" title_scale="medium" parent="normal" rounded_top_left="false" rounded_top_right="false">
54,56c54,56
< <distance name="left_titlebar_edge" value="0"/>
< <distance name="right_titlebar_edge" value="0"/>
< <distance name="title_vertical_pad" value="0"/> <!--
---
> <distance name="left_titlebar_edge" value="1"/>
> <distance name="right_titlebar_edge" value="1"/>
> <distance name="title_vertical_pad" value="15"/> <!--
60c60
< <border name="title_border" left="0" right="0" top="0" bottom="0"/>
---
> <border name="title_border" left="10" right="10" top="1" bottom="2"/>
<frame_geometry name="max" has_title="false" title_scale="medium" parent="normal" rounded_top_left="false" rounded_top_right="false">
<distance name="left_width" value="0" />
<distance name="right_width" value="0" />
<distance name="left_titlebar_edge" value="0"/>
<distance name="right_titlebar_edge" value="0"/>
<distance name="title_vertical_pad" value="0"/> <!--
This needs to be 1 less then the
title_vertical_pad on normal state
or you'll have bigger buttons -->
<border name="title_border" left="0" right="0" top="0" bottom="0"/>
<border name="button_border" left="0" right="0" top="0" bottom="0"/>
<distance name="bottom_height" value="0" />
</frame_geometry>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment