diff --git a/default/sddm/hyprland.conf b/default/sddm/hyprland.conf new file mode 100644 index 00000000..4ce15a75 --- /dev/null +++ b/default/sddm/hyprland.conf @@ -0,0 +1,11 @@ +# Minimal Hyprland config for the SDDM Wayland greeter. +# SDDM starts the greeter itself after the compositor is ready. +misc { + disable_hyprland_logo = true + disable_splash_rendering = true + force_default_wallpaper = 0 +} + +animations { + enabled = false +} diff --git a/install/login/sddm.sh b/install/login/sddm.sh index b04dd027..c3410e5d 100644 --- a/install/login/sddm.sh +++ b/install/login/sddm.sh @@ -4,6 +4,7 @@ omarchy-refresh-sddm # 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.conf" /usr/share/sddm/hyprland.conf sudo mkdir -p /etc/sddm.conf.d cat </dev/null @@ -11,7 +12,7 @@ cat </dev/null DisplayServer=wayland [Wayland] -CompositorCommand=Hyprland +CompositorCommand=Hyprland --config /usr/share/sddm/hyprland.conf EOF if [[ ! -f /etc/sddm.conf.d/autologin.conf ]]; then diff --git a/migrations/1778158938.sh b/migrations/1778158938.sh new file mode 100644 index 00000000..fdd31f87 --- /dev/null +++ b/migrations/1778158938.sh @@ -0,0 +1,5 @@ +echo "Use a minimal Hyprland config for the SDDM Wayland greeter" + +sudo cp "$OMARCHY_PATH/default/sddm/hyprland.conf" /usr/share/sddm/hyprland.conf +sudo mkdir -p /etc/sddm.conf.d +sudo sed -i 's|^CompositorCommand=Hyprland$|CompositorCommand=Hyprland --config /usr/share/sddm/hyprland.conf|' /etc/sddm.conf.d/10-wayland.conf