openbar icon indicating copy to clipboard operation
openbar copied to clipboard

Due to Open Bar automatically generating gtk.css, there is no way to customize styles that outside of the settings within open bar.

Open MatthewMenze opened this issue 9 months ago • 3 comments

Open Bar generates the gtk.css file, this means if you want to customize something in that stylesheet that is not within open bar, there is no mechanism to do so.

This is mostly fine, I've used this extension a ton and had no issues. However, I am currently trying to customize the height of the titlebar according to this: https://askubuntu.com/questions/1449407/how-to-make-the-top-barstitle-bars-of-windows-thinner-in-ubuntu

But obviously any changes are blown away.

Is it possible to:

A. Add a setting to customize the size of the title bar of windows within Open Bar? Really just height/padding/margin (and simultaneously the size of the window control buttons).

B. Leave a spot in the auto-generated file that you can add your own custom style rules, and they will be maintained when the file is regenerated.

Either solution would be a huge step towards what seems to be a common annoyance in Ubuntu (fat title bars), so I think they would be widely used. Solution B might be more widely useful, while A would be quick and easy for any user to take advantage of, especially since there is a similar option for the panel bar and such already.

Thanks, I really love this extension, and honestly will just deal with the fat titles if I need to. Just thought I would ask.

Matt

MatthewMenze avatar Mar 08 '25 19:03 MatthewMenze

Hello Matt,

You are making a good point. Ability to add custom gtk css has been on the ToDo but haven't got to it yet. Adding a setting for title bar heights would be awesome too (may not work on all apps though). I will surely add it when I get some time, a tad bit busy at the moment. I also want to revamp the preferences UI with Adwaita but that might take longer.

Thank you for writing and thanks for the kind words! Let's keep it open and I will get back here when I have something ready to test.

neuromorph avatar Mar 18 '25 16:03 neuromorph

I really need this T^T

4fort avatar Apr 27 '25 09:04 4fort

This feature would be awesome... I really need option B..

ShravyaKudlu avatar Jul 17 '25 20:07 ShravyaKudlu