Start hyprland for sddm without producing errors

This commit is contained in:
David Heinemeier Hansson
2026-05-07 15:12:25 +02:00
parent 4fbd750916
commit 6f03b72870
3 changed files with 3 additions and 7 deletions
+2 -1
View File
@@ -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 <<EOF | sudo tee /etc/sddm.conf.d/10-wayland.conf >/dev/null
[General]
DisplayServer=wayland
[Wayland]
CompositorCommand=Hyprland
CompositorCommand=start-hyprland -- --config /usr/share/sddm/hyprland.conf
EOF
-5
View File
@@ -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