Files
omarchycn/install/login/sddm.sh
T

19 lines
404 B
Bash

# Install omarchy SDDM theme
omarchy-refresh-sddm
# Setup SDDM login service
sudo mkdir -p /etc/sddm.conf.d
if [[ ! -f /etc/sddm.conf.d/autologin.conf ]]; then
cat <<EOF | sudo tee /etc/sddm.conf.d/autologin.conf
[Autologin]
User=$USER
Session=hyprland-uwsm
[Theme]
Current=omarchy
EOF
fi
# Don't use chrootable here as --now will cause issues for manual installs
sudo systemctl enable sddm.service