diff --git a/core/tabs/applications-setup/dwmtitus-setup.sh b/core/tabs/applications-setup/dwmtitus-setup.sh index 2ef4f379..b17c3545 100755 --- a/core/tabs/applications-setup/dwmtitus-setup.sh +++ b/core/tabs/applications-setup/dwmtitus-setup.sh @@ -136,10 +136,10 @@ clone_config_folders() { # Extract the directory name dir_name=$(basename "$dir") - # Clone the directory to ~/.config/ + # Clone the directory to $HOME/.config/ if [ -d "$dir" ]; then cp -r "$dir" "$HOME/.config/" - printf "%b\n" "${GREEN}Cloned $dir_name to ~/.config/${RC}" + printf "%b\n" "${GREEN}Cloned $dir_name to $HOME/.config/${RC}" else printf "%b\n" "${RED}Directory $dir_name does not exist, skipping${RC}" fi @@ -153,7 +153,7 @@ configure_backgrounds() { # Set the variable BG_DIR to the path where backgrounds will be stored BG_DIR="$PIC_DIR/backgrounds" - # Check if the ~/Pictures directory exists + # Check if the $HOME/Pictures directory exists if [ ! -d "$PIC_DIR" ]; then # If it doesn't exist, print an error message and return with a status of 1 (indicating failure) printf "%b\n" "${RED}Pictures directory does not exist${RC}" diff --git a/core/tabs/utils/ssh.sh b/core/tabs/utils/ssh.sh index 5d0ba3de..40bf63dd 100644 --- a/core/tabs/utils/ssh.sh +++ b/core/tabs/utils/ssh.sh @@ -2,13 +2,13 @@ . ../common-script.sh -# Check if ~/.ssh/config exists, if not, create it +# Check if $HOME/.ssh/config exists, if not, create it if [ ! -f "$HOME/.ssh/config" ]; then touch "$HOME/.ssh/config" chmod 600 "$HOME/.ssh/config" fi -# Function to show available hosts from ~/.ssh/config +# Function to show available hosts from $HOME/.ssh/config show_available_hosts() { printf "%b\n" "Available Systems:" grep -E "^Host " "$HOME/.ssh/config" | awk '{print $2}'