Уменьшите высоту заголовка / заголовков и их угловой радиус в Gnome 3.19+

1239
oracleyue

Есть ли запись в gnome-shell.css этом элементе управления угловой радиус «строки заголовка» (если я использую правильный термин) большинства окон?

Как показано на рисунке

Пример радиуса угла «заголовков»,

Я хочу уменьшить радиус угла, так как я уменьшаю высоту заголовков. Теперь угол выглядит довольно некрасиво (лично мне не нравятся закругленные углы).

Я проверил почти все записи, однако до сих пор не нашел его. У кого-нибудь есть идеи?

1

1 ответ на вопрос

1
oracleyue

I found the solution. It can be done by adding configurations in ~/.config/gtk-3.0/gtk.css: the entry border-radius is to reduce the radius of corners; the others are to reduce the height of title-bar (which I guess most guys suffer from in gnome 3.18+, when there is no .xml available for adjustment).

/* Locate in "~/.config/gtk-3.0/" to decrease title bar in gnome 3 */ /* INFO: valid for Gnome 3.19+ */ /* shrink headebars */ headerbar { min-height: 28px; border-radius: 2px; /* remove the rounded corners*/ } headerbar entry, headerbar spinbutton, headerbar button, headerbar separator { margin-top: 1px; margin-bottom: 1px; } /* shrink ssd titlebars */ .default-decoration { min-height: 0; /* let the entry and button drive the titlebar size */ } .default-decoration .titlebutton { min-height: 16px; /* tweak these two props to reduce button size */ min-width: 16px; border-radius: 1px; } 

Похожие вопросы