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

15 lines
414 B
Bash
Raw Normal View History

2023-05-03 15:47:41 +00:00
#!/bin/bash
2023-06-02 18:46:20 +00:00
configDir="/etc/sddm.conf.d";
2023-05-03 15:47:41 +00:00
sudo systemctl enable sddm;
2023-05-05 22:07:17 +00:00
2023-06-02 18:46:20 +00:00
mkdir -p "$configDir";
2023-05-05 22:07:17 +00:00
{
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";
2023-06-02 18:46:20 +00:00
} | sudo tee "$configDir/10-wayland.conf";