Add conf -> lua migration for Hyprland and update old migrations

This commit is contained in:
Ryan Hughes
2026-05-11 10:39:22 -04:00
parent 59a2619426
commit 82a1a91509
3 changed files with 98 additions and 10 deletions
+3 -2
View File
@@ -1,11 +1,12 @@
echo "Configure SDDM to use Wayland for the greeter"
sudo cp "$OMARCHY_PATH/default/sddm/hyprland.conf" /usr/share/sddm/hyprland.conf
sudo cp "$OMARCHY_PATH/default/sddm/hyprland.lua" /usr/share/sddm/hyprland.lua
sudo rm -f /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=start-hyprland -- --config /usr/share/sddm/hyprland.conf
CompositorCommand=start-hyprland -- --config /usr/share/sddm/hyprland.lua
EOF