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");