PortValhalla/scripts/Arch/Config/sddm/install.sh

14 lines
419 B
Bash
Executable file

#!/bin/bash
configDir="/etc/sddm.conf.d";
sudo systemctl enable sddm;
sudo mkdir -p "$configDir";
{
echo "[General]";
echo "DisplayServer=wayland";
echo "GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell,XKB_DEFAULT_LAYOUT=ch";
echo "";
echo "[Wayland]";
echo "CompositorCommand=kwin_wayland --no-lockscreen --inputmethod maliit-keyboard";
} | sudo tee "$configDir/10-wayland.conf";