diff --git a/README.md b/README.md index b359d4d..43c1ecd 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ User of eCryptFS are encouraged not to use psd unless willing to help troublesho * Icecat (GNU version of Firefox) * Iceweasel (Debian version of Firefox) * Inox (https://bbs.archlinux.org/viewtopic.php?id=198763) +* Librewolf (https://librewolf.net/) * Luakit * Midori * Opera, Opera-Beta, Opera-Developer, and Opera-Legacy diff --git a/common/browsers/librewolf b/common/browsers/librewolf new file mode 100644 index 0000000..3013053 --- /dev/null +++ b/common/browsers/librewolf @@ -0,0 +1,15 @@ +if [[ -d "$HOME"/.librewolf ]]; then + index=0 + PSNAME="$browser" + while read -r profileItem; do + if [[ $(echo "$profileItem" | cut -c1) = "/" ]]; then + # path is not relative + DIRArr[$index]="$profileItem" + else + DIRArr[$index]="$HOME/.librewolf/$profileItem" + fi + (( index=index+1 )) + done < <(grep '[Pp]'ath= "$HOME"/.librewolf/profiles.ini | sed 's/[Pp]ath=//') +fi + +check_suffix=1 diff --git a/common/psd.conf b/common/psd.conf index 4152068..1656c8e 100644 --- a/common/psd.conf +++ b/common/psd.conf @@ -37,6 +37,7 @@ # heftig-aurora # icecat # inox +# librewolf # luakit # midori # opera