DIRArr[0]="$XDG_CONFIG_HOME/$browser"
PSNAME="$browser"

# Armbian: skip the browser when it is not installed, unless psd holds its
# directory (symlink or backup), so that psd still restores it. Omarchy creates
# these directories for its extension hosts, for browsers that are not installed.
if ! command -v chromium >/dev/null 2>&1 && ! command -v chromium-browser >/dev/null 2>&1 && [[ ! -h "${DIRArr[0]}" && ! -d "${DIRArr[0]}-backup" ]]; then
    DIRArr=()
fi
