Frewacom / pywalfox

Dynamic theming of Firefox (and Thunderbird) using your Pywal colors
https://addons.mozilla.org/en-US/firefox/addon/pywalfox/
Mozilla Public License 2.0
583 stars 12 forks source link

Tor Browser? #56

Closed orangemn6 closed 3 years ago

orangemn6 commented 3 years ago

Is there a way to make this work with tor browser? My friend uses tor and wants to do some ricing.

Frewacom commented 3 years ago

I see no reason as to why it wouldn't work. It would require you to manually install the native messaging manifest and probably modify the main.sh entrypoint with an absolute path to the pywalfox executable.

The manifest should be copied to ~/.local/share/torbrowser/tbb/x86_64/tor-browser_XXX/Browser/TorBrowser/Data/Browser/.mozilla/native-messaging-hosts/pywalfox.json (might not be the exact same for your friend, but most likely there should be a .mozilla/ in there somewhere).

It would probably be easiest to run pywalfox install and then simply copy the ~/.mozilla/native-messaging-hosts folder into ~/.local/share/torbrowser/tbb/x86_64/tor-browser_XXX/Browser/TorBrowser/Data/Browser/.mozilla.

You can check the Browser console for errors if it does not work correctly.

orangemn6 commented 3 years ago

That worked! Thanks!