silvanshade / firefox-librebar

A single bar for Firefox's UI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Firefox Librebar is a fork of freeplay's Firefox OneBar

Firefox Librebar is free software. Please read What is Free Software.


What can it do?



|

Singe Tab as Titlebar

Small Windows

Centered Search

Works with almost all customizations

|


Installation

Currently, I can only test Gnome Linux. However it does work for other OS's.
> It is also possible to install with Firefox UI Fix

In Firefox

  • Firstly, make sure you are on the latest firefox stable version. ESR & other editions may not work as intended.
  1. Visit about:config
  2. Visit about:support
  3. In the Profile Directory row, copy the full path
    • May look something like: /home/{username}/.mozilla/firefox/...

Then, in a Terminal

Run each line individually

cd #paste the path you copied before here

git clone https://codeberg.org/Freeplay/firefox-onebar.git chrome

OR, to add it manually:

  1. Go to the path you copied before in your file explorer
  2. If there is no chrome folder, create one
  3. Then, inside the chrome folder, create a file called userChrome.css

Restart Firefox, and enjoy :)


Updating

If you used the Terminal Method:

cd #the path you copied before

cd chrome && git pull

If you've added it manually:

  1. Go to the path you copied before
  2. Enter the chrome folder
  3. Copy & paste the contents of userChrome.css into the file

Then, restart Firefox.


Customizations

  1. Copy the preference name of the customization you want to enable from the table below
  2. Visit about:config
  3. Paste the preference name into the search bar
  4. Click the plus button at the bottom right

Then, restart Firefox.


Customization Preference Name
Autohide all URLbar icons until hover onebar.hide-all-URLbar-icons
Disable autohiding of URLbar icons (prevents movement of URLbar) onebar.disable-autohide-of-URLbar-icons
Disable truncating of https:// onebar.disable-https-truncate
Disable centering of URLbar on focus onebar.disable-centering-of-URLbar
Disable single-tab styling onebar.disable-single-tab
Hide unified extensions button onebar.hide-unified-extensions-button
Hide all tabs button onebar.hide-all-tabs-button
Hide navigation buttons when disabled onebar.conditional-navigation-buttons
Allow hiding navigation buttons by dragging to the right of the URLbar onebar.hide-navigation-buttons

Use with Firefox UI Fix:

  1. Install the Proton-style version of the Firefox UI fix first
  2. Once that is done, visit about:support
  3. In the Profile Directory row, click "Open Directory"
  4. Enter the chrome folder
  5. Locate & open the userChrome.css file
  6. Copy & paste the contents of userChrome.css at the end of the file

Then, restart Firefox.


License

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.



About

A single bar for Firefox's UI.

License:Creative Commons Attribution Share Alike 4.0 International


Languages

Language:CSS 100.0%