diff --git a/scripts/99_deploy.sh b/scripts/99_deploy.sh index b0aea01..6c6450f 100755 --- a/scripts/99_deploy.sh +++ b/scripts/99_deploy.sh @@ -356,9 +356,9 @@ if [ ${operation} == "dots" ] ; then create_dir ${file_path} deploy_file "${dots_trg}/helix/${file_name}" "${file_path}/${file_name}" - if [ ${parameter} == "h" ] || [ ${parameter} == "hypr" ] ; then + # hyprland + if [ ${parameter} == "hyprland" ] ; then - # hyprland file_name=hyprland.conf file_path=/home/${system_user}/.config/hypr create_dir ${file_path} diff --git a/scripts/ct.sh b/scripts/ct.sh index d975774..303c2bf 100755 --- a/scripts/ct.sh +++ b/scripts/ct.sh @@ -31,7 +31,7 @@ fi this_file_name=`basename "$0"` if [ $# -lt 1 ]; then - echo "usage: '$this_file_name { d/dots [h/hypr] | d+/dots+ | uf / upd-full [host]? | services | s/sw/software {update/install/search/orphans/uninstall} [host]? | us / upd-self | yay }'" + echo "usage: '$this_file_name { d/dots [h/hypr/hyprland] | d+/dots+ | uf / upd-full [host]? | services | s/sw/software {update/install/search/orphans/uninstall} [host]? | us / upd-self | yay }'" exit 1 fi @@ -86,6 +86,10 @@ execute_script() { shopt -s extglob if [ $operation == "d" ] || [ $operation == "dots" ] ; then + if [ ${parameter_1} == "h" ] || [ ${parameter_1} == "hypr" ] ; then + parameter_1=hyprland + fi + execute_script 99_deploy.sh dots "${parameter_1}" fi @@ -164,7 +168,7 @@ if [ $operation == "uf" ] || [ $operation == "upd-full" ] ; then fi ${home_dir}/${this_file} software update ${parameter_1} - ${home_dir}/${this_file} dots + ${home_dir}/${this_file} dots hyprland fi shopt -u extglob