Ensure SDDM never tries to start an x11 session, just go straight to wayland
Closes #5643
This commit is contained in:
@@ -6,6 +6,14 @@ 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/wayland-sessions/omarchy.desktop" /usr/local/share/wayland-sessions/omarchy.desktop
|
||||||
|
|
||||||
sudo mkdir -p /etc/sddm.conf.d
|
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
|
||||||
|
EOF
|
||||||
|
|
||||||
if [[ ! -f /etc/sddm.conf.d/autologin.conf ]]; then
|
if [[ ! -f /etc/sddm.conf.d/autologin.conf ]]; then
|
||||||
cat <<EOF | sudo tee /etc/sddm.conf.d/autologin.conf
|
cat <<EOF | sudo tee /etc/sddm.conf.d/autologin.conf
|
||||||
[Autologin]
|
[Autologin]
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
echo "Configure SDDM to use Wayland for the greeter"
|
||||||
|
|
||||||
|
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
|
||||||
|
EOF
|
||||||
Reference in New Issue
Block a user