PortValhalla/scripts/Arch/Software/sddm/main.fish

22 lines
477 B
Fish
Raw Normal View History

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