27 lines
560 B
Bash
Executable File
27 lines
560 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
MOUNT_POINT="/mnt"
|
|
|
|
echo "Setting up Cosmic Desktop..."
|
|
|
|
echo "Configuring display manager..."
|
|
systemctl enable cosmic-greeter
|
|
|
|
echo "Installing additional Cosmic components..."
|
|
pacman -S --noconfirm --needed \
|
|
cosmic-files \
|
|
cosmic-edit \
|
|
cosmic-term \
|
|
cosmic-store \
|
|
cosmic-settings
|
|
|
|
echo "Setting up user environment..."
|
|
if [ -n "$SUDO_USER" ]; then
|
|
USER_HOME="/home/$SUDO_USER"
|
|
mkdir -p "$USER_HOME/.config"
|
|
chown -R "$SUDO_USER:$SUDO_USER" "$USER_HOME/.config"
|
|
fi
|
|
|
|
echo "Cosmic Desktop setup complete!"
|