Keep Firefox --class congruent with StartupWMClass for proxied version.

master
BrainwreckedTech 4 years ago
parent f4525ce475
commit b6075a2016

@ -209,7 +209,8 @@ fi
WAPP_DTF="${WAPP_DTF/.desktop/.proxied.desktop}" WAPP_DTF="${WAPP_DTF/.desktop/.proxied.desktop}"
[ "${WDSUFFIX}" = "pwa" ] && PRX_MTHD="Local Proxy" && WAPP_CMD="${WAPP_CMD} --proxy-server=socks://127.0.0.1:8080" [ "${WDSUFFIX}" = "pwa" ] && PRX_MTHD="Local Proxy" && WAPP_CMD="${WAPP_CMD} --proxy-server=socks://127.0.0.1:8080"
[ ! "${WDSUFFIX}" = "pwa" ] && PRX_MTHD="Proxychains" && WAPP_CMD="proxychains ${WAPP_CMD}" [ ! "${WDSUFFIX}" = "pwa" ] && PRX_MTHD="Proxychains" && WAPP_CMD="proxychains ${WAPP_CMD}"
WAWMCLAS="${WAWMCLAS/${WAPPNAME,,}/${WAPPNAME,,}.proxy" [ "${WDSUFFIX}" = "ssb" ] && WAPP_CMD="${WAPP_CMD/--class ${WAPPNAME,,}-ssb/--class ${WAPPNAME,,}.proxy-ssb} "
WAWMCLAS="${WAWMCLAS/${WAPPNAME,,}/${WAPPNAME,,}.proxy}"
DTE0="[Desktop Entry]" DTE0="[Desktop Entry]"
DTE1="Name=${WAPPNAME} (${WDSUFFIX^^}) via ${PRX_MTHD}" DTE1="Name=${WAPPNAME} (${WDSUFFIX^^}) via ${PRX_MTHD}"

Loading…
Cancel
Save