From 378cd0c389e8c2f94b486502caa6742b1027edf9 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Wed, 14 Jun 2023 21:35:40 +0200 Subject: [PATCH] Update firefox config --- .config/firefox/setup | 4 +++- .config/firefox/user.js | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.config/firefox/setup b/.config/firefox/setup index db4e515..9495b09 100755 --- a/.config/firefox/setup +++ b/.config/firefox/setup @@ -1,3 +1,5 @@ +#!/usr/bin/env bash + for i in ~/.mozilla/firefox/*.*default* - do ln -s user.js "$i/user.js" + do ln -s "$XDG_CONFIG_HOME"/firefox/user.js "$i/user.js" done diff --git a/.config/firefox/user.js b/.config/firefox/user.js index 164f991..52b8b5f 100644 --- a/.config/firefox/user.js +++ b/.config/firefox/user.js @@ -11,4 +11,5 @@ * */ -user_pref('browser.download.dir', '/home/h/dl') +// Set default download directory +user_pref("browser.download.dir", "/home/h/dl");