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

15 lines
447 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
sudo mkdir -p "$configDir";
2023-06-02 18:46:20 +00:00
2023-05-05 22:07:17 +00:00
{
echo "[General]";
echo "DisplayServer=wayland";
echo "GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell";
2023-05-05 22:07:17 +00:00
echo "";
echo "[Wayland]";
2024-03-09 11:04:34 +00:00
echo "CompositorCommand=kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1 --inputmethod maliit-keyboard";
2024-03-09 20:45:50 +00:00
} | sudo tee "$configDir/10-wayland.conf" > /dev/null;