From 4407e35765b9ad5a14cc689658d404b1858b1efd Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Sat, 27 Aug 2022 10:41:45 +0200 Subject: [PATCH] Add firefox config setup script --- .config/firefox/setup | 3 +++ .config/firefox/user.js | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100755 .config/firefox/setup diff --git a/.config/firefox/setup b/.config/firefox/setup new file mode 100755 index 0000000..db4e515 --- /dev/null +++ b/.config/firefox/setup @@ -0,0 +1,3 @@ +for i in ~/.mozilla/firefox/*.*default* + do ln -s user.js "$i/user.js" +done diff --git a/.config/firefox/user.js b/.config/firefox/user.js index e302ad5..164f991 100644 --- a/.config/firefox/user.js +++ b/.config/firefox/user.js @@ -2,9 +2,13 @@ * Note: has to be symlinked to profile directories for your * firefox release * + * E.g. + * * ```sh - * ln user.js ~/.mozilla/firefox/*.default-release/user.js + * ln -s user.js ~/.mozilla/firefox/*.default-release/user.js * ``` + * Or check out the `setup` script + * */ user_pref('browser.download.dir', '/home/h/dl')