Package Details: profile-sync-daemon-librewolf 2022.11.29-1

Git Clone URL: https://aur.archlinux.org/profile-sync-daemon-librewolf.git (read-only, click to copy)
Package Base: profile-sync-daemon-librewolf
Description: LibreWolf browser support for profile-sync-daemon
Upstream URL: None
Keywords: profile-sync,profile-sync-daemon,librewolf,profile-sync-daemon-librewolf
Licenses: GPL
Submitter: duff
Maintainer: duff
Last Packager: duff
Votes: 5
Popularity: 0.012323
First Submitted: 2021-12-22 07:29 (UTC)
Last Updated: 2022-11-30 07:27 (UTC)

Latest Comments

doppelhelix commented on 2026-02-22 19:12 (UTC) (edited on 2026-02-22 19:14 (UTC) by doppelhelix)

Librewolf now supports the XDG Base Directory Specification. /usr/share/psd/browsers/librewolf now looks like this:

if [[ -d "$XDG_CONFIG_HOME/librewolf/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]="$XDG_CONFIG_HOME/librewolf/librewolf/$profileItem"
        fi
        (( index=index+1 ))
    done < <(grep '^[Pp]ath=' "$XDG_CONFIG_HOME/librewolf/librewolf/profiles.ini" | sed 's/[Pp]ath=//')
fi

check_suffix=1

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