ct d hyprland

for including hyprland cfg upd
This commit is contained in:
committer@tuxwarrior
2026-02-26 13:39:42 -05:00
parent c8d4976014
commit be3e6a9562
2 changed files with 8 additions and 4 deletions

View File

@@ -356,9 +356,9 @@ if [ ${operation} == "dots" ] ; then
create_dir ${file_path} create_dir ${file_path}
deploy_file "${dots_trg}/helix/${file_name}" "${file_path}/${file_name}" deploy_file "${dots_trg}/helix/${file_name}" "${file_path}/${file_name}"
if [ ${parameter} == "h" ] || [ ${parameter} == "hypr" ] ; then
# hyprland # hyprland
if [ ${parameter} == "hyprland" ] ; then
file_name=hyprland.conf file_name=hyprland.conf
file_path=/home/${system_user}/.config/hypr file_path=/home/${system_user}/.config/hypr
create_dir ${file_path} create_dir ${file_path}

View File

@@ -31,7 +31,7 @@ fi
this_file_name=`basename "$0"` this_file_name=`basename "$0"`
if [ $# -lt 1 ]; then 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 exit 1
fi fi
@@ -86,6 +86,10 @@ execute_script() {
shopt -s extglob shopt -s extglob
if [ $operation == "d" ] || [ $operation == "dots" ] ; then 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}" execute_script 99_deploy.sh dots "${parameter_1}"
fi fi
@@ -164,7 +168,7 @@ if [ $operation == "uf" ] || [ $operation == "upd-full" ] ; then
fi fi
${home_dir}/${this_file} software update ${parameter_1} ${home_dir}/${this_file} software update ${parameter_1}
${home_dir}/${this_file} dots ${home_dir}/${this_file} dots hyprland
fi fi
shopt -u extglob shopt -u extglob