As the title suggests, I’m looking to make all four corners of windows square and not rounded; currently, GNOME insists on rounding the top-left and top-right corners. I’ve checked for a GNOME extension, but couldn’t find one. I’m okay with tinkering around with css code if someone can point me in the right direction.
The changes should be persistent. I’ve noticed, however, that you are mentioning about top corners only, which is rather specific to certain legacy gtk apps. So you might want to create the css file in ~/.config/gtk-3.0/ as well.
One thing i found while tweaking Gnome Shell and GTK, is that there seems to be little good documentation for the CSS classes and attributes that are used. There are some online resources like the one below:
And tools like Gnome Inspector:
But they feel unintuitive and cumbersome to use, it makes any tweaking a chore rather than a pleasure.
If anyone knows some better and more concise documentation that lists the actually used CSS ids/classes and attributes in Shell and GTK, do let me know.
Really good thought, Mike B.; I didn’t even think of legacy apps… Back when I was regularly trying to theme GNOME Shell, rather than just accepting most of the Adwaita decisions, I was always surprised at how many up-to-date, brand-new apps were considered legacy because of their visual code. It seems that adding that gtk.css file to ~/.confiig/gtk-3.0/ has worked. Thanks for that idea…
I also really appreciate those links Olivier… Time to go play.