vinceliuice / WhiteSur-gtk-theme

MacOS like theme for all gtk based desktops
MIT License
6k stars 616 forks source link

(Request) Support for Firefox derivitives? #681

Open SethranKada opened 2 years ago

SethranKada commented 2 years ago

Is there any plans to support Firefox spinoffs like Icecat and Librewolf? When I try to run ./tweaks.sh -f I get a generic error about not having Firefox installed. I'm pretty sure they still allow for theming since I was able to get the Firefox-Gnome-Theme to run in Librewolf just fine.

CuriousApe2020 commented 2 years ago

Maybe you could ad the option to specify a custom Firefox Folder location?

Konglomneshued commented 1 year ago

@SethranKada Temp Solution.

Edit tweaks.sh and on line 103 you should see this

if ! has_command firefox && ! has_command firefox-bin && ! has_flatpak_app org.mozilla.firefox && ! has_snap_app firefox && ! has_command firefox-developer-edition; then

Add this after the if: ! has_command your-firefox-exec-command && make sure to include the space after the if. Replace your-firefox-exec-command with, for example: librewolf.

edit lib-core.sh and on lines 58 and 59 replace the paths with the path to your .folder install (the one in your home directory if you're on Linux) and themes folder.

Example (my profile w8xw3hup.default):

FIREFOX_DIR_HOME="${MY_HOME}/.librewolf"
FIREFOX_THEME_DIR="${MY_HOME}/.librewolf/profiles/w8xw3hup.default/chrome"

Then run ./tweaks.sh -f [options].

Then make sure to restart Firefox if it's open. After that move the new tab button by right click your window with 2 tabs open and click customize.