From 0ed4624b184bf54608ae41bbf893be55ecc6aa53 Mon Sep 17 00:00:00 2001 From: FosRex Date: Sat, 17 Jan 2026 10:05:01 +0545 Subject: [PATCH] feat: add XDG_CONFIG_HOME to Firefox profile search paths Firefox (as of v147) now supports the XDG Base Directory Specification. This change ensures the script detects profiles located in $XDG_CONFIG_HOME/mozilla/firefox, falling back to $HOME/.config if the variable is unset. This prevents the script from missing profiles on modern Linux installations that have migrated away from the traditional $HOME/.mozilla/ directory. --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index c051d24..24f57f9 100755 --- a/install.sh +++ b/install.sh @@ -336,6 +336,7 @@ multiselect() { #== Profile Dir ================================================================ firefoxProfileDirPaths=( "${HOME}/.mozilla/firefox" + "${XDG_CONFIG_HOME:-$HOME/.config}/mozilla/firefox" "${HOME}/.waterfox" "${HOME}/.librewolf" "${HOME}/.ghostery browser"