Ensure the sddm config dir exists
This commit is contained in:
parent
9d069eae4f
commit
b984d2e36b
1 changed files with 4 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue