From c96cedd051a11ef86dd9a6f9d78d0d2ba5fcb0ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Sun, 6 Oct 2024 11:29:26 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9A=20docs(browser):=20add=20symlinkin?= =?UTF-8?q?g=20the=20user.js=20file=20to=20the=20installation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/browser/.github/README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.config/browser/.github/README.md b/.config/browser/.github/README.md index 8200872e..c54336ff 100644 --- a/.config/browser/.github/README.md +++ b/.config/browser/.github/README.md @@ -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**. ```bash -# Symlink the folder (Recommended) -ln -s ~/.config/browser/chrome/ ~/.{browser}/{profileid}/chrome +# Symlink the folder (Recommended, this way changing values on the original path alters the destination) +ln -sf ~/.config/browser/chrome/ ~/.{browser}/{profileid}/chrome # Copy the folder 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 -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 -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.