making xfce config
This commit is contained in:
@@ -125,6 +125,21 @@ if [[ "${DE}" == "xfce" || "${DDE}" == "xfce" ]]; then
|
||||
say_green "XFCE defeault terminal set to alacritty!"
|
||||
fi
|
||||
|
||||
# Set basic configuration
|
||||
SOURCE_DIR="config-files/debian"
|
||||
DEST_DIR="$HOME"
|
||||
|
||||
# 1. Check if the source directory exists
|
||||
if [ ! -d "$SOURCE_DIR" ]; then
|
||||
say_red "Error: Source directory '$SOURCE_DIR' not found. Aborting."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# 2. Copy files from source to destination recursively
|
||||
say_yellow "Copying all files and directories (including hidden ones) from $SOURCE_DIR to $DEST_DIR"
|
||||
cp -vrf "$SOURCE_DIR"/.* "$SOURCE_DIR"/* "$DEST_DIR"/
|
||||
|
||||
|
||||
fi
|
||||
|
||||
# End of script
|
||||
|
||||
Reference in New Issue
Block a user