2024-07-16 12:56:49 +00:00
|
|
|
#!/bin/env fish
|
|
|
|
begin
|
|
|
|
set -l dir (status dirname)
|
|
|
|
source "$dir/../../Scripts/software.fish"
|
|
|
|
|
|
|
|
function installSW
|
|
|
|
# `git` version
|
|
|
|
# yes | yayinst sddm-git
|
|
|
|
# stable version
|
|
|
|
yayinst sddm
|
|
|
|
configureSW
|
|
|
|
end
|
|
|
|
|
|
|
|
function configureSW -V dir
|
|
|
|
set -l configDir /etc/sddm.conf.d
|
|
|
|
sudo systemctl enable sddm
|
2024-07-16 20:12:07 +00:00
|
|
|
mkdir -p "$configDir"
|
2024-07-16 12:56:49 +00:00
|
|
|
sudo cp "$dir/wayland.conf" "$configDir/10-wayland.conf"
|
|
|
|
end
|
|
|
|
|
|
|
|
runInstaller $argv
|
|
|
|
end
|