diff --git a/install/login/sddm.sh b/install/login/sddm.sh index 05d45b86..a33fe44b 100644 --- a/install/login/sddm.sh +++ b/install/login/sddm.sh @@ -1,38 +1,30 @@ # Install omarchy SDDM theme -omarchy-refresh-sddm +rm -rf /usr/share/sddm/themes/omarchy +mkdir -p /usr/share/sddm/themes +cp -r "$OMARCHY_PATH/default/sddm/omarchy" /usr/share/sddm/themes/omarchy # Setup SDDM login service -sudo mkdir -p /usr/local/share/wayland-sessions -sudo cp "$OMARCHY_PATH/default/wayland-sessions/omarchy.desktop" /usr/local/share/wayland-sessions/omarchy.desktop -sudo cp "$OMARCHY_PATH/default/sddm/hyprland.lua" /usr/share/sddm/hyprland.lua -sudo rm -f /usr/share/sddm/hyprland.conf +mkdir -p /usr/local/share/wayland-sessions +cp -f "$OMARCHY_PATH/default/wayland-sessions/omarchy.desktop" /usr/local/share/wayland-sessions/omarchy.desktop +cp -f "$OMARCHY_PATH/default/sddm/hyprland.lua" /usr/share/sddm/hyprland.lua +rm -rf /usr/share/sddm/hyprland.conf -sudo mkdir -p /etc/sddm.conf.d -cat </dev/null -[General] -DisplayServer=wayland - -[Wayland] -CompositorCommand=start-hyprland -- --config /usr/share/sddm/hyprland.lua -EOF - -if [[ ! -f /etc/sddm.conf.d/autologin.conf ]]; then - cat < "$autologin_conf" <