This commit is contained in:
tuxwarrior
2024-05-03 13:18:08 -05:00
parent c4cbdd1739
commit 538c30ba23
3 changed files with 24 additions and 20 deletions

View File

@@ -5,7 +5,8 @@
this_file_name=`basename "$0"`
echo ":: $this_file_name :: [K] ::"
src_dir=${SYNCDIR}_${HOSTNAME}
syncdir_env_var=SYNCDIR_${HOSTNAME}
src_dir="${syncdir_env_var}"
trg_dir=~/syncDir
echo

View File

@@ -3,5 +3,8 @@
#
# Syntax: simple "KEY=VAL" pairs on separate lines
#
# note: a re-login is needed for changes to take place
#
# SYNCDIR_HOSTNAME
SYNCDIR_t470p=/home/poq/nextcloud/syncDir

View File

@@ -95,25 +95,25 @@ if [ ${operation} == "dots" ] ; then
file_path=/etc
deploy_file "${dots_trg}/environment/${file_name}" "${file_path}/${file_name}" no_chown
# # hypridle
# file_name=hypridle.conf
# file_path=/home/${user}/.config/hypr
# deploy_file ${dots_trg}/hypridle/${file_name} ${file_path}/${file_name}
#
# # hyprland
# file_name=hyprland.conf
# file_path=/home/${user}/.config/hypr
# deploy_file ${dots_trg}/hyprland/${file_name} ${file_path}/${file_name}
#
# # hyprpaper
# file_name=hyprpaper.conf
# file_path=/home/${user}/.config/hypr
# deploy_file ${dots_trg}/hyprpaper/${file_name} ${file_path}/${file_name}
#
# # waybar
# file_path=/home/${user}/.config/waybar
# mkdir -p ${file_path}
# deploy_file "${dots_trg}/waybar/*" "${file_path}/"
# hypridle
file_name=hypridle.conf
file_path=/home/${user}/.config/hypr
deploy_file ${dots_trg}/hypridle/${file_name} ${file_path}/${file_name}
# hyprland
file_name=hyprland.conf
file_path=/home/${user}/.config/hypr
deploy_file ${dots_trg}/hyprland/${file_name} ${file_path}/${file_name}
# hyprpaper
file_name=hyprpaper.conf
file_path=/home/${user}/.config/hypr
deploy_file ${dots_trg}/hyprpaper/${file_name} ${file_path}/${file_name}
# waybar
file_path=/home/${user}/.config/waybar
mkdir -p ${file_path}
deploy_file "${dots_trg}/waybar/*" "${file_path}/"
fi