diff --git a/scripts/Arch/Config/sddm/install.sh b/scripts/Arch/Config/sddm/install.sh index 21617d3e..abb4b244 100755 --- a/scripts/Arch/Config/sddm/install.sh +++ b/scripts/Arch/Config/sddm/install.sh @@ -1,6 +1,9 @@ #!/bin/bash +configDir="/etc/sddm.conf.d"; sudo systemctl enable sddm; +mkdir -p "$configDir"; + { echo "[General]"; echo "DisplayServer=wayland"; @@ -8,4 +11,4 @@ sudo systemctl enable sddm; echo ""; echo "[Wayland]"; echo "CompositorCommand=kwin_wayland --no-lockscreen --inputmethod maliit-keyboard"; -} | sudo tee /etc/sddm.conf.d/10-wayland.conf; +} | sudo tee "$configDir/10-wayland.conf";