From 42129e2e107446a1644259d3d20a2cdefd95393f Mon Sep 17 00:00:00 2001 From: t470p Date: Sat, 11 May 2024 20:06:23 -0500 Subject: [PATCH] u --- dots/archinstall/t470p/options.sh | 2 ++ scripts/99_deploy.sh | 48 ++++++++++++++++--------------- 2 files changed, 27 insertions(+), 23 deletions(-) diff --git a/dots/archinstall/t470p/options.sh b/dots/archinstall/t470p/options.sh index a516132..d019047 100644 --- a/dots/archinstall/t470p/options.sh +++ b/dots/archinstall/t470p/options.sh @@ -6,6 +6,8 @@ OPTIONS_LOADED=true +CLONE_TARGET_DIR=/tmp + USER=poq HYPRLAND=false I3WM=true diff --git a/scripts/99_deploy.sh b/scripts/99_deploy.sh index f56711f..1971165 100644 --- a/scripts/99_deploy.sh +++ b/scripts/99_deploy.sh @@ -28,7 +28,7 @@ if [ -z "${OPTIONS_LOADED}" ]; then fi user=${USER} -clone_trg=/tmp +clone_trg=${CLONE_TARGET_DIR} # ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ @@ -171,33 +171,35 @@ if [ ${operation} == "dots" ] ; then fi # hyprland - #if [ ${deploy_hyprland} == "true" ] ; then - #fi + if [ ${HYPRLAND} == "true" ] ; then - # hypridle - file_name=hypridle.conf - file_path=/home/${user}/.config/hypr - deploy_file ${dots_trg}/hypridle/${file_name} ${file_path}/${file_name} + # 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} + # hyprland + file_name=hyprland.conf + file_path=/home/${user}/.config/hypr + deploy_file ${dots_trg}/hyprland/${file_name} ${file_path}/${file_name} - # hyprlock - file_name=hyprlock.conf - file_path=/home/${user}/.config/hypr - deploy_file ${dots_trg}/hyprlock/${file_name} ${file_path}/${file_name} + # hyprlock + file_name=hyprlock.conf + file_path=/home/${user}/.config/hypr + deploy_file ${dots_trg}/hyprlock/${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} + # 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 - # waybar - file_path=/home/${user}/.config/waybar - mkdir -p ${file_path} - deploy_file "${dots_trg}/waybar/*" "${file_path}/" # xorg file_path=/home/${user}