void-bash-installer/modules/60-de/config

51 lines
1.7 KiB
Plaintext
Raw Normal View History

2021-03-11 14:04:04 +01:00
module "start" "de" "Desktopenvironment Configure"
setconf "add" "gfx_system" "xorg"
2021-03-16 20:25:59 +01:00
multiplechoice "de" "none" "kde5" "i3wm" "gnome" "none"
2021-03-12 22:47:34 +01:00
if [[ ! "${cfg[de]}" == "none" ]]; then
multiplechoice "gfx_hardware" "amd" "nvidia" "intel" "none"
2021-05-09 20:31:41 +02:00
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"
2021-03-12 22:47:34 +01:00
fi
2021-03-11 14:04:04 +01:00
2021-03-12 19:57:45 +01:00
if [[ "${cfg[de]}" == "gnome" ]]; then
setconf add "dm" "gdm"
2021-05-09 20:31:41 +02:00
addpkg "${cfg[dm]}" "gnome"
2021-03-12 19:57:45 +01:00
elif [[ "${cfg[de]}" == "kde5" ]]; then
setconf add "dm" "sddm"
2021-05-09 20:31:41 +02:00
addpkg "${cfg[dm]}" "kde5"
2021-03-12 19:57:45 +01:00
elif [[ "${cfg[de]}" == "i3wm" ]]; then
setconf add "dm" "lightdm"
2021-05-09 20:31:41 +02:00
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"
2021-03-12 19:57:45 +01:00
fi
2021-05-09 20:31:41 +02:00
2021-03-11 14:04:04 +01:00
if [[ ! "${cfg[de]}" == "none" ]]; then
2021-05-09 20:31:41 +02:00
source "${dir}/desktop-profiles/${cfg[de]}"
addpkg "${email}" "${messenger}" "${terminal}" "${imageviewer}" "${pdf}" "${filemanager}" "${archiver}" "${screenshot}" "${calc}" "${pinentry}" "${keyring}" "${gpg}" "${browser}" "${video}" "${music}" "${misc}"
2021-03-12 16:28:20 +01:00
2021-03-12 16:46:31 +01:00
addpkg "aspell-de" "gspell"
2021-03-12 16:28:20 +01:00
2021-05-09 20:31:41 +02:00
addpkg "alsa-utils" "alsa-plugins-pulseaudio" "pulseaudio"
2021-03-12 16:32:01 +01:00
addpkg "NetworkManager"
2021-05-09 20:31:41 +02:00
servicesenable "dbus" "NetworkManager" "alsa" "${cfg[dm]}"
2021-03-12 16:28:20 +01:00
2021-03-11 14:04:04 +01:00
servicesdisable "acpid"
2021-03-12 16:46:31 +01:00
2021-05-09 20:31:41 +02:00
addpkg "xorg-minimal" "xorg-fonts" "mesa-dri" "vulkan-loader" "xorg-apps"
2021-03-12 16:46:31 +01:00
2021-04-07 18:02:55 +02:00
ignorepkg "font-adobe-75dpi" "font-adobe-100dpi"
2021-03-12 16:46:31 +01:00
2021-03-11 14:04:04 +01:00
fi