<commit_before>#!/bin/bash -eu
BG=`cat /setup.dat | sed '1q;d'`
SETUP_SCRIPT_LOCATION=`cat /setup.dat | sed '2q;d'`
TESTSYSTEM=`cat /setup.dat | sed '3q;d'`
INSTALLHEAD=`cat /setup.dat | sed '4q;d'`
source /arch_func.sh

SETUP_MODE=$1

##########################
#######	 SETUP	 #########
##########################

#xorg-utils xorg-server-utils
PACKS="xorg xorg-server xorg-xinit xorg-util-macros xorg-twm xorg-xclock xdg-user-dirs xterm rxvt-unicode urxvt-url-select lightdm lightdm-gtk-greeter lightdm-gtk-greeter-settings terminator pulseaudio pavucontrol paprefs mate-themes wicd wicd-gtk xfce4 xfce4-goodies xfce4-artwork xfce4-session xfce4-settings xfwm4 xfwm4-themes xfconf thunar numlockx pinta gvfs-smb ruby imagemagick librsvg iptraf-ng arandr elementary-icon-theme gtk-engines xarchiver-gtk2 gnome-keyring seahorse gtk-engine-murrine python-setuptools gparted filezilla keepassxc veracrypt lsb-release smartmontools"

case $SETUP_MODE in
  workstation)
    PACKS+=" tlp graphviz system-config-printer vlc pidgin faac boost glu mesa-demos dbus jdk8-openjdk icoutils wxpython zenity"
    ;;
esac

if [ "$TESTSYSTEM" != "YES" ]; then
	EXTRA=" hexchat ario deluge xfburn acetoneiso2"
	EXTRA+=" latex2rtf lyx texmaker texlive-most pandoc texstudio "
	EXTRA+=" maven gradle gitg xdot filelight gdmap qt5 youtube-dl "
	EXTRA+=" mcomix tigervnc wireshark-gtk mkvtoolnix-gui"

  case $SETUP_MODE in
    workstation)
      EXTRA+=" avidemux-cli audacity handbrake libreoffice libreoffice-fresh-fr gimp inkscape thunderbird thunderbird-i18n-fr calibre jdk7-openjdk jdk9-openjdk openjdk7-src openjdk8-src openjdk9-src go java-openjfx java-openjfx-doc java-openjfx-src cordova"
      ;;
  esac

  PACKS+=$EXTRA
fi
#nextcloud
AURPACKS="gksu xscreensaver-arch-logo pasystray-gtk2-standalone paman pavumeter qalculate-gtk-nognome xprintidle archlinux-artwork xfce4-multiload-ng-plugin-gtk2 gnome-keyring-query acpi_call-dkms evince2 elementary-xfce-icons-git numix-themes-darkblue xfce-theme-greybird"<commit_msg>Update arch_head.sh<commit_after>#!/bin/bash -eu
BG=`cat /setup.dat | sed '1q;d'`
SETUP_SCRIPT_LOCATION=`cat /setup.dat | sed '2q;d'`
TESTSYSTEM=`cat /setup.dat | sed '3q;d'`
INSTALLHEAD=`cat /setup.dat | sed '4q;d'`
source /arch_func.sh

SETUP_MODE=$1

##########################
#######	 SETUP	 #########
##########################

#xorg-utils xorg-server-utils
PACKS="xorg xorg-server xorg-xinit xorg-util-macros xorg-twm xorg-xclock xdg-user-dirs xterm rxvt-unicode urxvt-url-select lightdm lightdm-gtk-greeter lightdm-gtk-greeter-settings terminator pulseaudio pavucontrol paprefs mate-themes wicd wicd-gtk xfce4 xfce4-goodies xfce4-artwork xfce4-session xfce4-settings xfwm4 xfwm4-themes xfconf thunar numlockx pinta gvfs-smb ruby imagemagick librsvg iptraf-ng arandr elementary-icon-theme gtk-engines xarchiver-gtk2 gnome-keyring seahorse gtk-engine-murrine python-setuptools gparted filezilla keepassxc veracrypt lsb-release smartmontools"

case $SETUP_MODE in
  workstation)
    PACKS+=" tlp graphviz system-config-printer vlc pidgin faac boost glu mesa-demos dbus jdk8-openjdk icoutils wxpython zenity"
    ;;
esac

if [ "$TESTSYSTEM" != "YES" ]; then
	EXTRA=" hexchat ario deluge xfburn acetoneiso2"
	EXTRA+=" latex2rtf lyx texmaker texlive-most pandoc texstudio "
	EXTRA+=" maven gradle gitg xdot filelight gdmap qt5 youtube-dl "
	EXTRA+=" mcomix tigervnc wireshark-gtk mkvtoolnix-gui"

  case $SETUP_MODE in
    workstation)
      EXTRA+=" avidemux-cli audacity handbrake libreoffice libreoffice-fresh-fr gimp inkscape thunderbird thunderbird-i18n-fr calibre jdk7-openjdk jdk9 openjdk7-src openjdk8-src go java-openjfx java-openjfx-doc java-openjfx-src cordova"
      ;;
  esac

  PACKS+=$EXTRA
fi
#nextcloud
AURPACKS="gksu xscreensaver-arch-logo pasystray-gtk2-standalone paman pavumeter qalculate-gtk-nognome xprintidle archlinux-artwork xfce4-multiload-ng-plugin-gtk2 gnome-keyring-query acpi_call-dkms evince2 elementary-xfce-icons-git numix-themes-darkblue xfce-theme-greybird"
{'fraction_non_alphanumeric': 0.12403294235088595, 'fraction_numerical': 0.013725979535812328, 'mean_word_length': 5.22360248447205, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '792709', 'n_tokens_mistral': 1634, 'n_tokens_neox': 1539, 'n_words': 337}