https://github.com/xplosionmind/firefox-monoline
Minimize your Firefox toolbar to one single line [MIRROR]
https://github.com/xplosionmind/firefox-monoline
browser-theme compact css design firefox firefox-theme firefox-tweaks minimal minimalism minimalist theme
Last synced: about 1 year ago
JSON representation
Minimize your Firefox toolbar to one single line [MIRROR]
- Host: GitHub
- URL: https://github.com/xplosionmind/firefox-monoline
- Owner: xplosionmind
- Archived: true
- Created: 2022-06-03T11:03:32.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-01-08T11:44:27.000Z (over 1 year ago)
- Last Synced: 2025-03-03T15:47:31.374Z (over 1 year ago)
- Topics: browser-theme, compact, css, design, firefox, firefox-theme, firefox-tweaks, minimal, minimalism, minimalist, theme
- Language: CSS
- Homepage: https://codeberg.org/tommi/firefox-monoline
- Size: 21.5 KB
- Stars: 18
- Watchers: 1
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π¦ Firefox Monoline
Minimize your Firefox toolbar to **one single line**.
## π No longer maintained π
I am no longer maintaining this repository, for three reasons.
- I am happily using the gorgeous [Firefox GNOME theme](https://github.com/rafaelmardojai/firefox-gnome-theme 'firefox-gnome-theme repository on GitHub, by Rafael Mardojai'), and I am sticking with it, for the moment.
- Unfortunately, as I am not using this theme myself I do not have enough time to properly tinker with this, and I would prefer [to prioritize other projects](https://codeberg.org/tommi?tab=repositories 'My repositories on Codeberg').
- I found [Firefox Onebar](https://git.gay/freeplay/Firefox-Onebar 'Firefox-Onebar repository on git.gay, by freeplay') to be a much more advanced and up-to-date choice, hence I would prefer to adopt and potentially contribute to that project if I ever switched back to single-line Firefox layout.
## Features
- π§Ή Remove clutter and make Firefox toolbar as essential as possible π
- π Compact mode support
- β οΈ Preserve icons and functionalities for which no β¨οΈ keyboard shortcut exists
- β
Non-breaking implementation
- π‘ Do you have a suggestion? Share it [here](https://github.com/xplosionmind/firefox-monoline 'Firefox Monoline issues on GitHub'))!

## π§π»βπ» Usage
- visit `about:config`
- set `toolkit.legacyUserProfileCustomizations.stylesheets`: `true`
- `extensions.pocket.enabled`: `false`
- Go to Menu > More Tools > Customize Toolbar:
- auto-hide downloads button
- remove all flexible space
- remove all icons
- Open `about:support`, copy the path of the Profile Folder
- open the terminal
- run `cd /path/to/profile`
- run `git clone https://codeberg.org/tommi/firefox-monoline.git chrome`
### π Compact mode
The built-in Firefox βCompact modeβ vertically compresses the navigation bar by slightly **reducing its height**. To activate it:
1. visit the `about:config` page;
2. search for `browser.compactmode.show` and change it to `true`;
3. go to Menu > More Tools > Customize Toolbar, set density as βcompactβ.
In order to use Compact mode with Firefox Monoline it is necessary to change some parts of [userChrome.css](./userChrome.css):
- remove [the first 9 lines](https://github.com/xplosionmind/firefox-monoline/blob/main/userChrome.css#L1-L9) (delete `urlbar-container` and `urlbar` styling)
- in [line 34](https://github.com/xplosionmind/firefox-monoline/blob/main/userChrome.css#L34), change the value to `-36px !important`
## πΎ Source code
This repository is [hosted on Codeberg](https://codeberg.org/tommi/firefox-monoline 'Firefox Monoline repository on Codeberg'), and it is mirrored on [GitHub](https://github.com/xplosionmind/firefox-monoline 'Firefox Monline repository on GitHub'), where [issues](https://github.com/xplosionmind/firefox-monoline/issues 'Firefox Monoline issues on GitHub') are tracked.
## π· Bugs
Report bugs [here](https://github.com/xplosionmind/firefox-monoline/issues 'Firefox Monoline issues on GitHub').
## π§ Related projects π
- Mainly inspired from [one-line-firefox](https://github.com/khuedoan/one-line-firefox 'one-line-firefox GitHub repository')
- [Oneline Proton](https://github.com/newmanls/OnelineProton 'Oneline Proton source code on GitHub')
- [Firefox-Onebar](https://codeberg.org/Freeplay/Firefox-Onebar 'Firefox-Onebar source code on Codeberg')