Reduce Titlebar Height

Posted by zbrom on June 30, 2021 · 1 min read

Open a terminal and run the following command with root privileges.

sed -i "/title_vertical_pad/s/value=\"[0-9]\{1,2\}\"/value=\"0\"/g" /usr/share/themes/Adwaita/metacity-1/metacity-theme-3.xml

Adjust value=\”0\ to your liking; I chose 7.

e.g.

sed -i "/title_vertical_pad/s/value=\"[0-9]\{1,2\}\"/value=\"7\"/g" /usr/share/themes/Adwaita/metacity-1/metacity-theme-3.xml