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.

5 points

Gosh, I’m so fascinated by the concept of removing/hiding the tabs implementation from every app and relying 100% on the window manager to provide this

permalink
report
reply
5 points

We need a community to showcase various UI hacks for Firefox.

permalink
report
reply
4 points

I like the idea of a tiling window manager but I found it about as effective to use a regular window manager like KDE or Gnome that allows you to snap windows to 1/4 or 1/2 the screen … Windows even does that.

permalink
report
reply
2 points

COSMIC is getting “fancy zone” snapping at the moment it seems (community efford)

COSMIC already has tabbing/stacking windows which is so cool, as I can finally ditch Konsole for Alacritty (if I manage profiles for distroboxes and color profiles etc).

I kinda try to get used to autotiling but its strange as fuck.

permalink
report
parent
reply
4 points

Tiling WM are more than screen splitters. It’s difficult to apprehend without trying it. A friend of mine had the same reasoning before actually trying one. Now he couldn’t go back. Although, like everything else, tiling WM are not for everyone and that’s why there’re other options :)

permalink
report
parent
reply
1 point

there was too many bugs in tiling WM last time i tried… which one do you use?

permalink
report
parent
reply
4 points

I’ve been through awesomewm, i3, and dwm. Now I’m using bspwm. Each one has its own specificities and is more or less easy to familiarized with.

permalink
report
parent
reply
5 points

I still find windows and tabs to be a useful way to have a nested organizational structure for web browsing. To solve the visual issue, I permanently hide the tab bar, and I use tree-style tabs with css to auto-hide the tab panel unless my cursor is all the way on the left side of the window. I also have the toolbar autohide unless my cursor is at the top of the window.

permalink
report
reply
18 points

You haven’t seen my Firefox with Sidebery extension and almost 300 tabs open, neatly organized into categories, tab stacks with three levels and folders :P I should clean it up some day

permalink
report
reply
13 points

You haven’t seen my Firefox with Sidebery extension and 544 tabs open, not even remotely organized into categories, no tab stacks with three levels and folders :P I should clean it up some day

permalink
report
parent
reply
3 points
Deleted by creator
permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 7.2K

    Monthly active users

  • 6.6K

    Posts

  • 179K

    Comments