mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
Start hyprland for sddm without producing errors
This commit is contained in:
@@ -12,7 +12,7 @@ cat <<EOF | sudo tee /etc/sddm.conf.d/10-wayland.conf >/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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user