Critical update

This commit is contained in:
Muhammad Rivan
2021-06-23 13:31:48 +00:00
parent a1ae7970a1
commit 4b69d5f2e9
3 changed files with 14 additions and 6 deletions

View File

@@ -58,6 +58,7 @@ install() {
local color="$2"
local screen="$3"
prompt -i "\n * Install ${theme}${color} in ${WALLPAPER_DIR}... "
mkdir -p "${WALLPAPER_DIR}"
[[ -f ${WALLPAPER_DIR}/${theme}${color}.png ]] && rm -rf ${WALLPAPER_DIR}/${theme}${color}.png
cp -r ${REPO_DIR}/${screen}/${theme}${color}.png ${WALLPAPER_DIR}
}