#!/bin/bash
[ "$UID" != 0 ] && { exec sudo bash "$0" && exit 0; }
echo "Установка Xfce и дополнительных пакетов на Arch."
pkg_list+=(base-devel xfce4 xfce4-goodies man-db lightdm lightdm-gtk-greeter lightdm-gtk-greeter-settings)
pkg_list+=(gparted gnome-disk-utility baobab smartmontools gsmartcontrol dosfstools mtools gvfs gvfs-mtp)
pkg_list+=(transmission-gtk chromium epiphany links network-manager-applet mc gpm htop btop fastfetch)
pkg_list+=(p7zip file-roller galculator gnome-calculator papirus-icon-theme gnome-system-monitor)
pkg_list+=(pulseaudio pavucontrol noto-fonts mpv vlc vlc-plugin-ffmpeg gimp git libreoffice)
pacman -S --noconfirm "${pkg_list[@]}"
systemctl -q enable gpm lightdm
../any/user-dirs.sh
../any/pkexec.sh
./pomodoro.sh
./kvm.sh
