Olá pessoal, tudo bem?
Alguém manja como alterar a altura da barra de titulo das janelas do cinnamon? creio que seria no metacity certo? Quero deixar a altura da barra de titulo um pouco maior.
Tks,
Diogo.
Olá pessoal, tudo bem?
Alguém manja como alterar a altura da barra de titulo das janelas do cinnamon? creio que seria no metacity certo? Quero deixar a altura da barra de titulo um pouco maior.
Tks,
Diogo.
se eu não me engano…
se vc alterar o tamanho da fonte da barra de título, altera a altura da barra.
para alterar via gtk
o exemplo é para o gnome, por isso não sei se serve para cinnamon
Crie um arquivo no ~/.config/gtk-3.0/ (
com o nome gtk.css
E adicione um dos exemplos abaixo.
talvez tenha que trocar o tema ou reiniciar a sessão do usuário.
Headerbar/CSD
Actually, a section of the code that I found via reddit and posted above, namely
headerbar entry,
headerbar spinbutton,
headerbar button,
headerbar separator {
margin-top: 2px; /* same as headerbar side padding for nicer proportions */
margin-bottom: 2px;
}
DOES modify the headerbars/CSDs. However the effect is not immediate. Even if you reload gnome, you might need to close all windows, wait a while, or log out and log back in again to see the effect.
I am still not seeing any difference in the header bar when modifying the following.
headerbar {
min-height: 38px;
padding-left: 2px; /* same as children's vertical margins for nicer proportions */
padding-right: 2px;
}
Standard titlebar
The two sections for the normal window titlebars work as expected.
.default-decoration {
min-height: 0; /* let the entry and button drive the titlebar size */
padding: 2px
}
.default-decoration .titlebutton {
min-height: 26px; /* tweak these two props to reduce button size */
min-width: 26px;
}
Titlebar border
You can use the following to remove the titlebar border if you are running the default adwaita theme. From [SOLVED] GNOME 3.20 high mouse acceleration and ugly titlebar border / Applications & Desktop Environments / Arch Linux Forums
window.ssd headerbar.titlebar {
border: none;
background-image: linear-gradient(to bottom,
shade(@theme_bg_color, 1.05),
shade(@theme_bg_color, 0.99));
box-shadow: inset 0 1px shade(@theme_bg_color, 1.4);
}
Muitooooo obrigado pela resposta… Testar e coloco o resultado aki… Vlw mesmo.