diff --git a/install/login/sddm.sh b/install/login/sddm.sh index c3410e5d..f97243cb 100644 --- a/install/login/sddm.sh +++ b/install/login/sddm.sh @@ -12,7 +12,7 @@ cat </dev/null DisplayServer=wayland [Wayland] -CompositorCommand=Hyprland --config /usr/share/sddm/hyprland.conf +CompositorCommand=start-hyprland -- --config /usr/share/sddm/hyprland.conf EOF if [[ ! -f /etc/sddm.conf.d/autologin.conf ]]; then diff --git a/migrations/1778148645.sh b/migrations/1778148645.sh index d9bc031c..c085858e 100644 --- a/migrations/1778148645.sh +++ b/migrations/1778148645.sh @@ -1,10 +1,11 @@ echo "Configure SDDM to use Wayland for the greeter" +sudo cp "$OMARCHY_PATH/default/sddm/hyprland.conf" /usr/share/sddm/hyprland.conf sudo mkdir -p /etc/sddm.conf.d cat </dev/null [General] DisplayServer=wayland [Wayland] -CompositorCommand=Hyprland +CompositorCommand=start-hyprland -- --config /usr/share/sddm/hyprland.conf EOF diff --git a/migrations/1778158938.sh b/migrations/1778158938.sh deleted file mode 100644 index fdd31f87..00000000 --- a/migrations/1778158938.sh +++ /dev/null @@ -1,5 +0,0 @@ -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