u
This commit is contained in:
@@ -7,13 +7,6 @@ echo "<< 99_deploy.sh >>"
|
|||||||
user=poq
|
user=poq
|
||||||
clone_trg=/tmp
|
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_dotsplus_url=https://gitlab.com/pqq/dotsplus/-/archive/main/dotsplus-main.tar.gz
|
|
||||||
dotsplus_trg=${clone_trg}/dotsplus-main/wp
|
|
||||||
|
|
||||||
|
|
||||||
if [ "$EUID" -ne 0 ]
|
if [ "$EUID" -ne 0 ]
|
||||||
then echo "error: run as 'root'"
|
then echo "error: run as 'root'"
|
||||||
exit
|
exit
|
||||||
@@ -107,6 +100,10 @@ firefox_profile_dir() {
|
|||||||
# dots (dot files)
|
# dots (dot files)
|
||||||
if [ ${operation} == "dots" ] ; then
|
if [ ${operation} == "dots" ] ; then
|
||||||
|
|
||||||
|
# declarations
|
||||||
|
targz_dots_url=https://git.mz.fo/fro/lnx-arch/archive/master.tar.gz
|
||||||
|
dots_trg=${clone_trg}/lnx-arch/dots
|
||||||
|
|
||||||
echo "***** ${operation} *****"
|
echo "***** ${operation} *****"
|
||||||
rm -rf ${clone_trg}/lnx-arch
|
rm -rf ${clone_trg}/lnx-arch
|
||||||
download_repo ${targz_dots_url}
|
download_repo ${targz_dots_url}
|
||||||
@@ -182,15 +179,18 @@ fi
|
|||||||
# dots+ (wallpapers, fonts ++)
|
# dots+ (wallpapers, fonts ++)
|
||||||
if [ ${operation} == "dots+" ] ; then
|
if [ ${operation} == "dots+" ] ; then
|
||||||
|
|
||||||
|
# declarations
|
||||||
|
targz_dotsplus_url=https://gitlab.com/pqq/dotsplus/-/archive/main/dotsplus-main.tar.gz
|
||||||
|
dotsplus_trg=${clone_trg}/dotsplus-main
|
||||||
|
|
||||||
echo "***** ${operation} *****"
|
echo "***** ${operation} *****"
|
||||||
rm -rf ${clone_trg}/dotsplus-main
|
rm -rf ${dotsplus_trg}
|
||||||
download_repo ${targz_dotsplus_url}
|
download_repo ${targz_dotsplus_url}
|
||||||
tree ${clone_trg}/dotsplus-main
|
tree ${clone_trg}
|
||||||
|
|
||||||
# ----------
|
# ----------
|
||||||
# fonts
|
# fonts
|
||||||
# ----------
|
# ----------
|
||||||
|
|
||||||
file_path=/home/${user}/.local/share/fonts
|
file_path=/home/${user}/.local/share/fonts
|
||||||
mkdir -p ${file_path}
|
mkdir -p ${file_path}
|
||||||
deploy_file "${dotsplus_trg}/fonts/install/*" "${file_path}/"
|
deploy_file "${dotsplus_trg}/fonts/install/*" "${file_path}/"
|
||||||
@@ -198,7 +198,6 @@ if [ ${operation} == "dots+" ] ; then
|
|||||||
# ----------
|
# ----------
|
||||||
# wallpapers
|
# wallpapers
|
||||||
# ----------
|
# ----------
|
||||||
|
|
||||||
deploy_file "${dotsplus_trg}/wallpapers/install*" "/home/${user}/.config/hypr/"
|
deploy_file "${dotsplus_trg}/wallpapers/install*" "/home/${user}/.config/hypr/"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user