mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-01-21 12:03:05 -08:00
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.
This commit is contained in:
parent
1f30fe71dd
commit
0ed4624b18
1 changed files with 1 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue