/ 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
|
targz_dots_url=https://git.mz.fo/fro/lnx-arch/archive/master.tar.gz
|
||||||
dots_trg=${clone_trg}/lnx-arch/dots
|
dots_trg=${clone_trg}/lnx-arch/dots
|
||||||
|
|
||||||
targz_wp_url=https://gitlab.com/pqq/wallpaper/-/archive/main/wallpaper-main.tar.gz
|
targz_dotsplus_url=https://gitlab.com/pqq/dotsplus/-/archive/main/dotsplus-main.tar.gz
|
||||||
wp_trg=${clone_trg}/wallpaper-main/wp
|
dotsplus_trg=${clone_trg}/dotsplus-main/wp
|
||||||
|
|
||||||
|
|
||||||
if [ "$EUID" -ne 0 ]
|
if [ "$EUID" -ne 0 ]
|
||||||
@@ -130,14 +130,6 @@ if [ ${operation} == "dots" ] ; then
|
|||||||
file_path=/etc
|
file_path=/etc
|
||||||
deploy_file "${dots_trg}/environment/${file_name}" "${file_path}/${file_name}" no_chown
|
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
|
# programs
|
||||||
# ----------
|
# ----------
|
||||||
@@ -187,14 +179,26 @@ if [ ${operation} == "dots" ] ; then
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# wallpapers
|
# dots+ (wallpapers, fonts ++)
|
||||||
if [ ${operation} == "wp" ] ; then
|
if [ ${operation} == "dots+" ] ; then
|
||||||
|
|
||||||
echo "***** ${operation} *****"
|
echo "***** ${operation} *****"
|
||||||
rm -rf ${clone_trg}/wallpaper-main
|
rm -rf ${clone_trg}/dotsplus-main
|
||||||
download_repo ${targz_wp_url}
|
download_repo ${targz_dotsplus_url}
|
||||||
tree ${clone_trg}/wallpaper-main
|
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
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user