#!/bin/bash
[ "$UID" != 0 ] && { exec sudo bash "$0" && exit 0; }
./setfont.sh || exit 1
echo "Установка Xfce и дополнительных пакетов на Fedora43."
./repo.sh && yum update -y || exit 1
yum group install -y xfce-desktop fonts java-development java
yum group install -y libreoffice development-tools firefox vlc
yum install -y papirus-icon-theme arc-theme xfce4*plugin mousepad
yum install -y p7zip p7zip-plugins unar file-roller gimp ristretto
yum install -y mc gpm htop btop fastfetch gnome-system-monitor baobab
yum install -y gparted gnome-disk-utility smartmontools gsmartcontrol
yum install -y transmission chromium epiphany links
yum install -y galculator gnome-calculator mpv
yum remove -y dnfdragora xfdashboard
../any/user-dirs.sh
../any/pkexec.sh
./pomodoro.sh
./kvm.sh

systemctl set-default graphical.target
