Files
miasma-installer/scripts/01-cosmic-setup.sh
tumillanino 33dd952ad4
Some checks failed
Build / build (push) Failing after 5m23s
updated the installer so that it should actually work
2025-11-11 18:57:02 +11:00

27 lines
575 B
Bash
Executable File

#!/bin/bash
set -e
MOUNT_POINT="/mnt"
echo "Setting up Cosmic Desktop..."
# Enable Cosmic services
systemctl enable cosmic-greeter
# Install additional Cosmic components
pacman -S --noconfirm --needed \
cosmic-files \
cosmic-edit \
cosmic-term \
cosmic-store \
cosmic-settings \
xwayland-satellite
# Configure Cosmic with Kanagawa Dragon theme
if [ -n "$SUDO_USER" ]; then
USER_HOME="/home/$SUDO_USER"
mkdir -p "$USER_HOME/.config/cosmic"
chown -R "$SUDO_USER:$SUDO_USER" "$USER_HOME/.config"
fi
echo "Cosmic Desktop setup complete!"