Initial commit

This commit is contained in:
Christian Schendel 2025-09-03 21:16:18 +02:00
commit 91b0ad73f3
Signed by: doppelhelix
GPG key ID: 5874D2437CD5BBB3
10 changed files with 489 additions and 0 deletions

17
librewolf Normal file
View file

@ -0,0 +1,17 @@
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
# we need to append the default path to give a
# fully qualified path
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