51 lines
1.7 KiB
Plaintext
51 lines
1.7 KiB
Plaintext
module "start" "de" "Desktopenvironment Configure"
|
|
|
|
setconf "add" "gfx_system" "xorg"
|
|
multiplechoice "de" "none" "kde5" "i3wm" "gnome" "none"
|
|
|
|
if [[ ! "${cfg[de]}" == "none" ]]; then
|
|
multiplechoice "gfx_hardware" "amd" "nvidia" "intel" "none"
|
|
if [[ "${cfg[gfx_hardware]}" == "amd" ]]; then
|
|
addpkg mesa-vulkan-radeon xf86-video-amdgpu mesa-vaapi mesa-vdpau
|
|
elif [[ "${cfg[gfx_hardware]}" == "intel" ]]; then
|
|
addpkg mesa-vulkan-intel xf86-video-intel intel-video-accel
|
|
fi
|
|
fi
|
|
|
|
if yesno "Printing enabled?" "y"; then
|
|
addpkg "cups" "cups-filters" "gutenprint" "foomatic-db"
|
|
servicesenable "cupsd"
|
|
fi
|
|
|
|
if [[ "${cfg[de]}" == "gnome" ]]; then
|
|
setconf add "dm" "gdm"
|
|
addpkg "${cfg[dm]}" "gnome"
|
|
elif [[ "${cfg[de]}" == "kde5" ]]; then
|
|
setconf add "dm" "sddm"
|
|
addpkg "${cfg[dm]}" "kde5"
|
|
elif [[ "${cfg[de]}" == "i3wm" ]]; then
|
|
setconf add "dm" "lightdm"
|
|
addpkg "${cfg[dm]}" "lightdm-gtk3-greeter" "i3-gaps" "i3lock-color" "i3status" "dmenu" "dunst" "elogind" "gvfs" "gvfs-afc" "gvfs-afp" "gvfs-cdda" "paprefs" "pavucontrol" "gvfs-gphoto2" "gvfs-mtp" "gvfs-smb" "xss-lock" "xbindkeys"
|
|
fi
|
|
|
|
|
|
if [[ ! "${cfg[de]}" == "none" ]]; then
|
|
source "${dir}/desktop-profiles/${cfg[de]}"
|
|
addpkg "${email}" "${messenger}" "${terminal}" "${imageviewer}" "${pdf}" "${filemanager}" "${archiver}" "${screenshot}" "${calc}" "${pinentry}" "${keyring}" "${gpg}" "${browser}" "${video}" "${music}" "${misc}"
|
|
|
|
addpkg "aspell-de" "gspell"
|
|
|
|
addpkg "alsa-utils" "alsa-plugins-pulseaudio" "pulseaudio"
|
|
|
|
addpkg "NetworkManager"
|
|
|
|
servicesenable "dbus" "NetworkManager" "alsa" "${cfg[dm]}"
|
|
|
|
servicesdisable "acpid"
|
|
|
|
addpkg "xorg-minimal" "xorg-fonts" "mesa-dri" "vulkan-loader" "xorg-apps"
|
|
|
|
ignorepkg "font-adobe-75dpi" "font-adobe-100dpi"
|
|
|
|
fi
|