Added README and distrobox

This commit is contained in:
2023-08-21 02:32:09 +02:00
parent c8c40716a0
commit 5fe727e462
2 changed files with 37 additions and 10 deletions

View File

@@ -111,7 +111,7 @@ function install_distro_specific_packages() {
# Base and utility packages
sudo pacman -S --needed --noconfirm linux-headers dkms base-devel jshon expac acpid avahi net-tools xdg-user-dirs p7zip unrar unzip unace xz rsync nfs-utils cifs-utils ntfs-3g exfat-utils gvfs udisks2 starship macchanger plymouth plymouth-kcm breeze-plymouth
# Hardware packages
sudo pacman -S --needed --noconfirm mkinitcpio-firmware mesa lib32-mesa vulkan-icd-loader lib32-vulkan-icd-loader xf86-video-amdgpu nvidia-utils lib32-nvidia-utils libvdpau lib32-libvdpau libva-mesa-driver lib32-libva-mesa-driver mesa-vdpau lib32-mesa-vdpau libva-vdpau-driver lib32-libva-vdpau-driver vulkan-radeon lib32-vulkan-radeon xf86-input-synaptics xf86-input-libinput xf86-input-evdev
sudo pacman -S --needed --noconfirm mkinitcpio-firmware mesa lib32-mesa vulkan-icd-loader lib32-vulkan-icd-loader xf86-video-amdgpu nvidia-utils lib32-nvidia-utils libvdpau lib32-libvdpau libva-mesa-driver lib32-libva-mesa-driver mesa-vdpau lib32-mesa-vdpau libva-vdpau-driver lib32-libva-vdpau-driver vulkan-radeon lib32-vulkan-radeon xf86-input-synaptics xf86-input-libinput xf86-input-evdev supergfxctl
# Printer
sudo pacman -S --needed --noconfirm system-config-printer foomatic-db foomatic-db-engine gutenprint gsfonts cups cups-pdf cups-filters sane skanlite hplip
# Network
@@ -203,16 +203,18 @@ function install_dev() {
}
function install_openrazer() {
if [[ $DISTRO =~ (debian|ubuntu) ]]; then
sudo apt install openrazer-meta -y
elif [[ $DISTRO == "fedora" ]]; then
sudo dnf in openrazer-meta -y
sudo rpm -e gpg-pubkey-d6d11ce4-5418547d
sudo dnf in --nogpgcheck polychromatic -y
elif [[ $DISTRO == "arch" ]]; then
sudo pacman -S --needed polychromatic openrazer-meta --noconfirm
if (whiptail --title "System Update" --yesno "Should we install web browsers?" 8 78); then
if [[ $DISTRO =~ (debian|ubuntu) ]]; then
sudo apt install openrazer-meta -y
elif [[ $DISTRO == "fedora" ]]; then
sudo dnf in openrazer-meta -y
sudo rpm -e gpg-pubkey-d6d11ce4-5418547d
sudo dnf in --nogpgcheck polychromatic -y
elif [[ $DISTRO == "arch" ]]; then
sudo pacman -S --needed polychromatic openrazer-meta --noconfirm
fi
sudo gpasswd -a "$USER" plugdev
fi
sudo gpasswd -a "$USER" plugdev
}
get_distribution