📚 docs(browser): add symlinking the user.js file to the installation

This commit is contained in:
Sergio Laín 2024-10-06 11:29:26 +02:00
parent a14bf2f9ea
commit c96cedd051
No known key found for this signature in database
GPG key ID: 8429B2EE312F8150

View file

@ -67,8 +67,8 @@ First of all, check your active profile. To do so, type `about:profiles` in your
**Be sure to change the path to your profile**. **Be sure to change the path to your profile**.
```bash ```bash
# Symlink the folder (Recommended) # Symlink the folder (Recommended, this way changing values on the original path alters the destination)
ln -s ~/.config/browser/chrome/ ~/.{browser}/{profileid}/chrome ln -sf ~/.config/browser/chrome/ ~/.{browser}/{profileid}/chrome
# Copy the folder # Copy the folder
cp -r ~/.config/browser/chrome/ ~/.{browser}/{profileid}/chrome cp -r ~/.config/browser/chrome/ ~/.{browser}/{profileid}/chrome
@ -82,10 +82,14 @@ Tada! 🎉 You should now see your theme correctly installed.
### :package: user.js Installation ### :package: user.js Installation
Just like before, check your active profile. Now copy the user.js file from the configuration to the active profile folder. Just like before, check your active profile. Now symlink or copy the user.js file from the configuration to the active profile folder.
```bash ```bash
cp ~/.config/browser/user.js ~/.{browser}/{profileid}/user.js # Symlink the folder (Recommended, this way changing values on the original path alters the destination)
ln -sf ~/.config/browser/userjs/{browser}-user.js ~/.{browser}/{profileid}/user.js
# Copy the file
cp ~/.config/browser/userjs/{browser}-user.js ~/.{browser}/{profileid}/user.js
``` ```
As before, close all instances of your browser and you should be able to test your new user.js. As before, close all instances of your browser and you should be able to test your new user.js.