added parameter to 'ct d'
not tested. for updating hyprland dots.
This commit is contained in:
@@ -37,6 +37,7 @@ if [ $# -lt 1 ]; then
|
||||
exit 1
|
||||
fi
|
||||
operation=$1
|
||||
parameter=$2
|
||||
|
||||
# urls
|
||||
targz_dots_url=https://gi.op.fo/fro/lnx-arch/archive/master.tar.gz
|
||||
@@ -354,11 +355,15 @@ if [ ${operation} == "dots" ] ; then
|
||||
create_dir ${file_path}
|
||||
deploy_file "${dots_trg}/helix/${file_name}" "${file_path}/${file_name}"
|
||||
|
||||
# hyprland
|
||||
#file_name=hyprland.conf
|
||||
#file_path=/home/${system_user}/.config/hypr
|
||||
#create_dir ${file_path}
|
||||
#deploy_file "${dots_trg}/hyprland/${file_name}" "${file_path}/${file_name}"
|
||||
if [ ${parameter} == "h" ] || [ ${parameter} == "hypr" ] ; then
|
||||
|
||||
# hyprland
|
||||
file_name=hyprland.conf
|
||||
file_path=/home/${system_user}/.config/hypr
|
||||
create_dir ${file_path}
|
||||
deploy_file "${dots_trg}/hyprland/${file_name}" "${file_path}/${file_name}"
|
||||
|
||||
fi
|
||||
|
||||
# pcmanfm
|
||||
# bookmarks found in "dots/gtk/.gtk-bookmarks"
|
||||
|
||||
@@ -31,7 +31,7 @@ fi
|
||||
|
||||
this_file_name=`basename "$0"`
|
||||
if [ $# -lt 1 ]; then
|
||||
echo "usage: '$this_file_name { d/dots | 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] | d+/dots+ | uf / upd-full [host]? | services | s/sw/software {update/install/search/orphans/uninstall} [host]? | us / upd-self | yay }'"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -86,7 +86,7 @@ execute_script() {
|
||||
shopt -s extglob
|
||||
if [ $operation == "d" ] || [ $operation == "dots" ] ; then
|
||||
|
||||
execute_script 99_deploy.sh dots
|
||||
execute_script 99_deploy.sh dots "${parameter_1}"
|
||||
|
||||
fi
|
||||
shopt -u extglob
|
||||
|
||||
Reference in New Issue
Block a user