Start hyprland for sddm without producing errors

This commit is contained in:
David Heinemeier Hansson committed 2026-05-07 15:12:25 +02:00
1 parent 4fbd750916
commit 6f03b72870
3 files changed
+3 -7

No files matched your search

+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