#!/bin/sh
#

#
# Additional Packages
COMMON="
zsh zsh-syntax-highlighting zsh-autosuggestions
linux-headers
which tmux
neofetch
powerline powerline-fonts powerline-vim
cinnamon gnome-terminal xorg gdm mate-icon-theme-faenza
keepass xdotool
tlp tlp-rdw
sshfs curlftpfs
"

MULTIMEDIA="
jack2
"
_="ffmpeg
kodi kodi-pvr-hts
spotify-client
photocollage
ardour calf-plugins eq10q fluid-soundfont-gm fluid-soundfont-gs guitarix-ladspa swh-plugins
ubuntustudio-controls carla
sonata elisa obs-studio kdenlive
gxtuner
lame
"


TOOLS="
firefox evolution
"
_="
gnuplot
gvncviewer
texlive-binaries texlive-latex-extra texlive-lang-german texlive-fonts-recommended texstudio
gimp
kicad kicad-packages3d
openscad freecad
"

PROGRAMMING="
python-pip
meld
"
_="arduino patchelf libserialport0
minicom
pycodestyle
virtualenv
python3-wxgtk4.0
python3-pip
meld
"

ALL=$COMMON\ $MULTIMEDIA\ $TOOLS\ $PROGRAMMING

echo The followin packages and their required depending packages will be installed:
echo ------------------------------------------------------------------------------
echo $ALL
echo ------------------------------------------------------------------------------
read -r -p "Are you sure? [y/N] " response
echo ------------------------------------------------------------------------------
case "$response" in
    [yY][eE][sS]|[yY]) 
        pacman --needed -S $ALL
        #
        echo
        echo You might want to execute the following commands:
        echo -------------------------------------------------
        echo systemctl enable gdm
        echo systemctl enable NetworkManager
        echo
        echo and reboot the system...
        ;;
    *)
        echo Installation aborted!
        ;;
esac