In the image, these are not tabs. These are firefox windows, being rendered as tabs (and as stacks) by sway.

I just switched to sway, and found that browser tabs no longer make sense. They were designed in the UI dark ages to make up for how terrible Windows XP’s WM was. Now, though, sway can do tabs just as well as firefox can, and sometimes, even better. It is better to unify the management of all windows under a single WM, rather than this ad hoc mixture of the real, global WM, and a fake firefox-only (or terminal-only) WM. That way, all windows are managed with a single set of keyboard shortcuts.

I also found firefox’s toolbar to be way too thick.

So, I used userChrome.css to hide the tab bar and adjust the toolbar’s height:

/* Hide the tab bar. */
#TabsToolbar {
    visibility: collapse !important;
}

/* Adjust the toolbar height. */
#urlbar-container {
    --urlbar-container-height: var(--tbh) !important;
}
#urlbar {
    --urlbar-toolbar-height: var(--tbh) !important;
    --urlbar-height: var(--tbh) !important;
}
:root {
    --tbh: 26px !important; /* ToolBar Height. Adjust this one. */
    --toolbarbutton-inner-padding: calc((var(--tbh) - 16px)/2) !important;
    --toolbarbutton-outer-padding: 0px !important;
    --toolbar-start-end-padding: 0px !important;
    --urlbar-margin-inline: 0px !important;
}

Put this file at <profile root>/chrome/userChrome.css. You’ll probably have to make the chrome directory. Then, in about:config, set toolkit.legacyUserProfileCustomizations.stylesheets to true, to get firefox to read userChrome.css. Oh, and don’t forget to tell firefox to open new pages in new windows instead of new tabs.

I have also found it useful to map the firefox command to Super-C, so that I can make a new firefox window without needing to have some other firefox window already in focus.

I have also found it useful to keep an empty firefox window open in some unused workspace on its own, so that after I close what I didn’t realise was the last open firefox window, firefox does not close entirely.

      • ReversalHatchery@beehaw.org
        link
        fedilink
        English
        arrow-up
        5
        ·
        8 months ago

        Problem is, you can only have one bookmark for each url. So if you want to have readling list bookmarks, you better not use bookmarks for anything else.

        There’s a workaround, sure, add a # and some gibberish to the URL’s end, but that’s not really a solution

          • ReversalHatchery@beehaw.org
            link
            fedilink
            English
            arrow-up
            2
            ·
            7 months ago

            What I wanted to mean is that if you use bookmarks as a reading list, you are better off not using them for any other purpose, like saving articles by categories for later reference.
            This is because each bookmark can only be in a single bookmark folder.
            Additionally, if you have an addon that makes bookmarks, and it creates a bookmark for a site you have already bookmarked (let alone mass creates such bookmarks), the old ones will be lost along with their tags.

            • QuazarOmega@lemy.lol
              link
              fedilink
              arrow-up
              2
              ·
              7 months ago

              Oh I see, that’s true! Firefox bookmarks are a bit suboptimal in my experience too, for me it’s because they don’t have a description field so it’s harder to search for them (unless you put the text in the title, but all these kludges are annoying)

    • etuomaala@sopuli.xyzOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      8 months ago

      You only saw the tabs open on this workspace.

      But yeah I don’t have hundreds of tabs open. It is incompatible with my workflow. Only the “tabs” directly relevant to whatever is currently happening in the current workspace are kept open.

      A link either gets read or it doesn’t. If I don’t have time to read a link somebody sends me personally, I just tell them that. I don’t string anybody along about a link I know I will never read. I can’t allow for any link backlog. That leads to . . . dark places.

      Also, I don’t really use bookmarks either. When I disable search suggestions and use firefox suggest, it leave more space for history. It works so well I don’t really need to bookmark anything. Frequently opened sites make their way to the top on their own.