/ wallpaper > dots+ repo change
This commit is contained in:
@@ -10,8 +10,8 @@ clone_trg=/tmp
|
||||
targz_dots_url=https://git.mz.fo/fro/lnx-arch/archive/master.tar.gz
|
||||
dots_trg=${clone_trg}/lnx-arch/dots
|
||||
|
||||
targz_wp_url=https://gitlab.com/pqq/wallpaper/-/archive/main/wallpaper-main.tar.gz
|
||||
wp_trg=${clone_trg}/wallpaper-main/wp
|
||||
targz_dotsplus_url=https://gitlab.com/pqq/dotsplus/-/archive/main/dotsplus-main.tar.gz
|
||||
dotsplus_trg=${clone_trg}/dotsplus-main/wp
|
||||
|
||||
|
||||
if [ "$EUID" -ne 0 ]
|
||||
@@ -130,14 +130,6 @@ if [ ${operation} == "dots" ] ; then
|
||||
file_path=/etc
|
||||
deploy_file "${dots_trg}/environment/${file_name}" "${file_path}/${file_name}" no_chown
|
||||
|
||||
# ----------
|
||||
# fonts
|
||||
# ----------
|
||||
|
||||
file_path=/home/${user}/.local/share/fonts
|
||||
mkdir -p ${file_path}
|
||||
deploy_file "${dots_trg}/fonts/install/*" "${file_path}/"
|
||||
|
||||
# ----------
|
||||
# programs
|
||||
# ----------
|
||||
@@ -187,14 +179,26 @@ if [ ${operation} == "dots" ] ; then
|
||||
|
||||
fi
|
||||
|
||||
# wallpapers
|
||||
if [ ${operation} == "wp" ] ; then
|
||||
# dots+ (wallpapers, fonts ++)
|
||||
if [ ${operation} == "dots+" ] ; then
|
||||
|
||||
echo "***** ${operation} *****"
|
||||
rm -rf ${clone_trg}/wallpaper-main
|
||||
download_repo ${targz_wp_url}
|
||||
tree ${clone_trg}/wallpaper-main
|
||||
rm -rf ${clone_trg}/dotsplus-main
|
||||
download_repo ${targz_dotsplus_url}
|
||||
tree ${clone_trg}/dotsplus-main
|
||||
|
||||
deploy_file "${wp_trg}/*" "/home/${user}/.config/hypr/"
|
||||
# ----------
|
||||
# fonts
|
||||
# ----------
|
||||
|
||||
file_path=/home/${user}/.local/share/fonts
|
||||
mkdir -p ${file_path}
|
||||
deploy_file "${dots_trg}/fonts/install/*" "${file_path}/"
|
||||
|
||||
# ----------
|
||||
# wallpapers
|
||||
# ----------
|
||||
|
||||
deploy_file "${dotsplus_trg}/*" "/home/${user}/.config/hypr/"
|
||||
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user