graysky2 / profile-sync-daemon

Symlinks and syncs browser profile dirs to RAM thus reducing HDD/SDD calls and speeding-up browsers.
https://wiki.archlinux.org/index.php/Profile-sync-daemon
Other
909 stars 89 forks source link

LibreWolf browser #306

Closed LukashonakV closed 3 years ago

LukashonakV commented 3 years ago

Dear maintainers,

Thank you for your effort on this great program.

Is it possible to add of supporting of the LibreWolf browser which is based purely on the firefox engine ? Thank you

LukashonakV commented 3 years ago

`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`

Works for me