yokoffing / Betterfox

Firefox user.js for speed, privacy, and security. Your favorite browser, but better.
MIT License
5.91k stars 147 forks source link

Use native title bar buttons in Linux with a custom theme #320

Closed M0-7 closed 1 month ago

M0-7 commented 1 month ago

Usually when you switch the theme in firefox (Linux) the window decorations in the title bar change to something which is non-native but if you set:

"widget.gtk.non-native-titlebar-buttons.enabled" to false

Then the issue goes away. Would you consider adding this? This works great on gnome. Haven't tested it yet on kde

Before

image

After

image

M0-7 commented 1 month ago

I'm able to make a pull request as well if this is something which you think makes sense to be in betterfox. Specifically into Peskyfox

yokoffing commented 1 month ago

Idk if I want to make this a default, because of how fractured Linux is, and how many Linux users customize their setup. But I have added as an option in Peskyfox for the upcoming release. https://github.com/yokoffing/Betterfox/commit/2149f50d818ac7846adef4d67b248983f5b8db54

M0-7 commented 1 month ago

I don't think this would affect people customising it. In fact it would help them make their setup more consistent (as long as they use the Mozilla store themes). If they change their CSS settings, then I'm not really sure how this would work.