arch workstation commit

This commit is contained in:
[yuri]
2025-12-11 12:49:09 +01:00
parent 07a8af4dd8
commit 9c648a70b0
4 changed files with 438 additions and 3 deletions

View File

@@ -160,14 +160,20 @@ fi
SOURCE_DIR="$SCRIPT_DIR/config-files/arch"
DEST_DIR="$HOME"
# replace bashrc
say_yellow "Setting bashrc"
sudo cp -v /etc/skel/.bashrc /etc/skel/.bashrc.starburst
sudo cp -rf $SOURCE_DIR/.bashrc /etc/skel/.bashrc
sudo cp -rf $SOURCE_DIR/.bashrc $HOME/.bashrc
# 1. Verify source directory exists
if [ ! -d "$SOURCE_DIR" ]; then
echo "Error: Source directory '$SOURCE_DIR' not found. Skipping XFCE config."
echo "Error: Source directory '$SOURCE_DIR' not found. Skipping config."
# Use exit 1 if this is critical, or just exit 0 to continue the main script
# exit 1
fi
say_yellow "Applying XFCE configuration directly to $DEST_DIR..."
say_yellow "Applying configuration directly to $DEST_DIR..."
# 2. Use shopt for dotfiles, then copy recursively and forcefully
shopt -s dotglob
@@ -178,7 +184,7 @@ shopt -u dotglob
say_yellow "Clearing session cache..."
rm -rf "$HOME/.cache/sessions/"
say_yellow "XFCE configuration applied. User can log in now."
say_yellow "configuration applied. User can log in now."
# End of script
say_green "Full setup completed."