garrett / firefox-theme-frame

A simple Firefox theme that disables everything but the titlebar
MIT License
0 stars 0 forks source link

Switch to native windowmanager titlebar #1

Closed garrett closed 1 year ago

garrett commented 1 year ago

The Firefox-provided titlebar has some drawbacks:

So, ideally, we'd:

  1. Switch to using the default window manager titlebar.
  2. Only show the tab bar when there's 1 tab (since it seems we cannot turn off tabs completely in modern Firefox).
  3. Stop unstyling the tabs (just hide the bar completely when there aren't any tabs).
  4. Use the limited session from GNOME Initial Setup to hide the close button instead.

I can do # 1 - 3 in the theme. Hopefully the desktop team can solve # 4 for us. Even without # 4, I think the rest still make sense for us to handle.

We'll need to handle the window close (by handling the beforeunload event) ourselves regardless, whether or not there's an (X), anyway.

garrett commented 1 year ago

Closed in 4bd69e4.