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

14 lines
414 B
Bash
Executable file

#!/bin/bash
configDir="/etc/sddm.conf.d";
sudo systemctl enable sddm;
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";