Initial - package list
This commit is contained in:
130
packages.sh
Executable file
130
packages.sh
Executable file
@@ -0,0 +1,130 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Exit on error
|
||||
set -e
|
||||
|
||||
|
||||
# Base packages
|
||||
PREREQ_PACKAGES=""
|
||||
PACKAGES="man bash-completion power-profiles-daemon xdg-desktop-portal-gtk"
|
||||
FLATPAK_PACKAGES=""
|
||||
POST_COMMANDS="sudo gpasswd -a $USER plugdev"
|
||||
|
||||
|
||||
# KDE elements
|
||||
PACKAGES="$PACKAGES kcalc gwenview"
|
||||
PACKAGES="$PACKAGES qt5-tools" # Should not be important but fixed something
|
||||
FLATPAK_PACKAGES="$FLATPAK_PACKAGES runtime/org.gtk.Gtk3theme.Breeze-Dark"
|
||||
|
||||
|
||||
# System tools
|
||||
PREREQ_PACKAGES="$PREREQ_PACKAGES dkms linux-headers"
|
||||
PACKAGES="$PACKAGES partitionmanager gparted wireplumber"
|
||||
|
||||
|
||||
# Filesystems support
|
||||
PACKAGES="$PACKAGES ntfs3 dosfstools"
|
||||
|
||||
|
||||
# Packages management
|
||||
PACKAGES="$PACKAGES flatpak"
|
||||
|
||||
|
||||
# Printing
|
||||
PACKAGES="$PACKAGES system-config-printer cups ghostscript"
|
||||
POST_COMMANDS="$POST_COMMANDS | sudo systemctl enable --now cups.service"
|
||||
|
||||
|
||||
# Docker
|
||||
PACKAGES="$PACKAGES docker docker-compose docker-buildx"
|
||||
POST_COMMANDS="$POST_COMMANDS | sudo systemctl enable --now docker"
|
||||
|
||||
|
||||
# Emulation
|
||||
PACKAGES="$PACKAGES qemu qemu-user-static-binfmt virtualbox virtualbox-host-modules-arch"
|
||||
|
||||
|
||||
# Gaming
|
||||
PACKAGES="$PACKAGES gamescope gamemode ttf-liberation steam openrazer-daemon"
|
||||
FLATPAK_PACKAGES="$FLATPAK_PACKAGES com.heroicgameslauncher.hgl app.polychromatic.controller"
|
||||
FLATPAK_PACKAGES="$FLATPAK_PACKAGES runtime/org.freedesktop.Platform.VulkanLayer.MangoHud/x86_64/24.08" # For bottles
|
||||
FLATPAK_PACKAGES="$FLATPAK_PACKAGES runtime/org.freedesktop.Platform.VulkanLayer.MangoHud/x86_64/23.08" # For Heroic Launcher
|
||||
|
||||
|
||||
|
||||
# Image editing
|
||||
PACKAGES="$PACKAGES gimp"
|
||||
|
||||
|
||||
# Video editing
|
||||
PACKAGES="$PACKAGES kdenlive"
|
||||
|
||||
# Video recording
|
||||
PACKAGES="$PACKAGES obs-studio"
|
||||
|
||||
|
||||
# Tools
|
||||
PACKAGES="$PACKAGES impression" # ISO imager
|
||||
PACKAGES="$PACKAGES gameconqueror" # Modifying program data(in memory)
|
||||
FLATPAK_PACKAGES="$FLATPAK_PACKAGES com.usebottles.bottles com.github.tchx84.Flatseal org.kde.kwrite org.remmina.Remmina"
|
||||
|
||||
|
||||
# Webbrowser
|
||||
PACKAGES="$PACKAGES google-chrome chromium firefox torbrowser-launcher"
|
||||
|
||||
|
||||
# Communication
|
||||
PACKAGES="$PACKAGES mumble"
|
||||
FLATPAK_PACKAGES="$FLATPAK_PACKAGES com.discordapp.Discord"
|
||||
|
||||
|
||||
# Code stuff
|
||||
PACKAGES="$PACKAGES visual-studio-code-bin"
|
||||
|
||||
|
||||
# Multimedia
|
||||
# PACKAGES="$PACKAGES "
|
||||
FLATPAK_PACKAGES="$FLATPAK_PACKAGES com.spotify.Client"
|
||||
|
||||
|
||||
# SSH(d)
|
||||
PACKAGES="$PACKAGES openssh"
|
||||
POST_COMMANDS="$POST_COMMANDS | sudo systemctl enable --now sshd"
|
||||
|
||||
|
||||
|
||||
echo -e "PREREQ_PACKAGES: \n\t$PREREQ_PACKAGES\n"
|
||||
echo -e "PACKAGES: \n\t$PACKAGES\n"
|
||||
|
||||
|
||||
echo "FLATPAK_PACKAGES:"
|
||||
IFS=' '; FLATPAK_PACKAGES_ARRAY=($FLATPAK_PACKAGES); unset IFS;
|
||||
|
||||
for i in ${!FLATPAK_PACKAGES_ARRAY[@]}
|
||||
do
|
||||
echo -e "\t" ${FLATPAK_PACKAGES_ARRAY[$i]}
|
||||
done
|
||||
|
||||
|
||||
echo "POST_COMMANDS:"
|
||||
IFS='|'; POST_COMMANDS_ARRAY=($POST_COMMANDS); unset IFS;
|
||||
|
||||
for i in ${!POST_COMMANDS_ARRAY[@]}
|
||||
do
|
||||
echo -e "\t" ${POST_COMMANDS_ARRAY[$i]}
|
||||
done
|
||||
|
||||
|
||||
|
||||
# Ask to continue installation
|
||||
|
||||
# Go to source dir
|
||||
mkdir ~/source
|
||||
cd ~/source
|
||||
|
||||
|
||||
# Install YAY
|
||||
sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si
|
||||
|
||||
|
||||
yay -S
|
||||
Reference in New Issue
Block a user