void-bash-installer/modules/70-de/pre

25 lines
955 B
Plaintext
Raw Normal View History

2021-03-11 14:04:04 +01:00
module "start" "de" "Desktopenvironment Configure"
setconf "add" "gfx_system" "xorg"
multiplechoice "de" "kde5" "i3wm" "gnome" "none"
multiplechoice "gfx_hardware" "amd" "nvidia" "intel" "none"
multiplechoice "soundsystem" "pulseaudio" "pipewire" "none"
if [[ ! "${cfg[soundsystem]}" == "none" ]]; then
addpkg "alsa-utils"
servicesenable "alsa"
2021-03-12 14:14:50 +01:00
source "${modules}"/de.d/pre/sound/"${cfg[soundsystem]}".mod
2021-03-11 14:04:04 +01:00
fi
if [[ ! "${cfg[de]}" == "none" ]]; then
2021-03-12 14:35:49 +01:00
addpkg "firefox"
2021-03-11 14:04:04 +01:00
servicesdisable "acpid"
test -f "${modules}"/de.d/pre/de/"${cfg[de]}".mod && source "${modules}"/de.d/pre/de/"${cfg[de]}".mod
test -f "${modules}"/de.d/pre/system/"${cfg[gfx_system]}".mod && source "${modules}"/de.d/pre/system/"${cfg[gfx_system]}".mod
test -f "${modules}"/de.d/pre/gfx/"${cfg[gfx_hardware]}".mod && source "${modules}"/de.d/pre/gfx/"${cfg[gfx_hardware]}".mod
test -f "${modules}"/de.d/pre/cupsd.mod && source "${modules}"/de.d/pre/cupsd.mod
fi
module "end"