Change icon directory to subdirectory under ~/.local/share/icons.

master
BrainwreckedTech 4 years ago
parent 2449f14fc0
commit 1503c7dd92

@ -123,7 +123,7 @@ esac
### PLACES FOR STUFF
WAPP_DIR="${APPS_DIR}/${WDSUFFIX}"
WAPP_ICO="${ICONSDIR}/${WAPPNAME,,}.${WAPPICON##*.}"
WAPP_ICO="${ICONSDIR}/${WDSUFFIX}/${WAPPNAME,,}.${WAPPICON##*.}"
WAPP_DTF="${APPS_DIR}/${WDSUFFIX}/${WAPPNAME,,}.desktop"
### EPIPHANY WEB APPS ARE SNOWFLAKE
@ -157,9 +157,12 @@ if [ "${WA_BRWSR}" = "firefox" ]; then
fi
### MAKE WEBAPP DIRECTORY
### MAKE SURE WEBAPP DIRECTORY EXISTS
printf -- ':: ' && mkdir -pv "${WAPP_DIR}"
### MAKE SURE ICONS DIRECTORY EXISTS
[ ! "${WASUFFIX}" = "ewa" ] && printf -- ':: ' && mkdir -pv "${ICONSDIR}/${WASUFFIX}"
### SNOWFLAKE EPIPHANY REQUIRES A HIDDEN FILE IN THE WEBAPP DIRECTORY
[ "${WA_BRWSR}" = "epiphany" ] && touch "${WAPP_DIR}/.app"

Loading…
Cancel
Save