arch fix
This commit is contained in:
+18
-8
@@ -27,7 +27,7 @@ say_bold() { printf "\n"; printf "%b%s%b\n" "$BOLD" "$*" "$RESET"; }
|
||||
##########################
|
||||
# Use exported variables from main detection script
|
||||
##########################
|
||||
OS="${DETECTED_OS:-arch}"
|
||||
OS="${DETECTED_OS}"
|
||||
DDE="${DETECTED_DE}"
|
||||
DE="${SELECTED_DE:-none}"
|
||||
TWM="${SELECTED_TWM:-none}"
|
||||
@@ -63,7 +63,7 @@ remove_packages() {
|
||||
say_yellow "Starting minimal setup..."
|
||||
|
||||
# Create user directories
|
||||
mkdir -p "$HOME"/{.bin,.fonts,.icons,.themes,DATA} "$HOME/.local/share/"{icons,themes,applications} "$HOME/.config/"{autostart,gtk-{3.0,4.0},variety,fish,neofetch}
|
||||
mkdir -p "$HOME"/{.bin,.fonts,.icons,.themes,DATA} "$HOME/.local/share/"{icons,themes,applications} "$HOME/.config/"{autostart,gtk-{3.0,4.0},variety,fish,neofetch,fastfetch}
|
||||
|
||||
# Removing unwanted drivers
|
||||
say_yellow "GET RID OF BROADCOM AND REALTEK DRIVERS"
|
||||
@@ -81,7 +81,7 @@ if pacman -Qi linux &> /dev/null && pacman -Qi linux-headers &> /dev/null; then
|
||||
linux-hardened-headers linux-hardened
|
||||
linux-rt-headers linux-rt
|
||||
linux-rt-lts-headers linux-rt-lts
|
||||
linux-cachyos-headers linux-cachyos
|
||||
# linux-cachyos-headers linux-cachyos
|
||||
linux-xanmod-headers linux-xanmod
|
||||
)
|
||||
remove_package() {
|
||||
@@ -108,23 +108,33 @@ fi
|
||||
remove_packages xf86-video-amdgpu xf86-video-ati xf86-video-fbdev xf86-video-nouveau xf86-video-openchrome xf86-video-vesa
|
||||
|
||||
# Install essential tools
|
||||
install_packages wget curl nano fastfetch lolcat bash-completion starship alacritty hwinfo lshw reflector expac betterlockscreen pamac-aur avahi man-db tree xdg-user-dirs rsync time bat unzip chromium
|
||||
install_packages wget curl nano fastfetch lolcat bash-completion starship alacritty hwinfo lshw reflector expac pamac-aur avahi man-db tree xdg-user-dirs rsync time bat unzip chromium
|
||||
# temp removed packages:
|
||||
# betterlockscreen
|
||||
if [ ! -f /usr/bin/duf ]; then
|
||||
install_packages duf
|
||||
fi
|
||||
install_packages man-db man-pages pacmanlogviewer paru-git yay-git thunar thunar-archive-plugin thunar-volman tree xdg-user-dirs polkit-gnome rate-mirrors rsync time bat ntp nss-mdns
|
||||
install_packages man-db man-pages pacmanlogviewer thunar thunar-archive-plugin thunar-volman tree xdg-user-dirs polkit-gnome rate-mirrors rsync time bat ntp nss-mdns
|
||||
# temp removed packages:
|
||||
# paru-git yay-git
|
||||
|
||||
#disk-tools
|
||||
install_packages baobab gvfs-smb hddtemp squashfs-tools
|
||||
|
||||
#archive-managers
|
||||
install_packages zip gzip p7zip unace unrar unzip file-roller peazip
|
||||
install_packages zip gzip p7zip unace unrar unzip file-roller
|
||||
# temp removed packages:
|
||||
# peazip
|
||||
|
||||
#theming
|
||||
install_packages bibata-cursor-theme feh font-manager
|
||||
install_packages feh font-manager
|
||||
# temp removed packages:
|
||||
# bibata-cursor-theme
|
||||
|
||||
# All the software below will be installed on all desktops
|
||||
install_packages archlinux-tools dconf-editor devtools hardinfo2 hw-probe logrotate lsb-release powertop inxi acpi plocate most namcap nm-connection-editor python-pylint python-pywal
|
||||
install_packages archlinux-tools dconf-editor devtools hardinfo2 logrotate lsb-release powertop inxi acpi plocate most namcap nm-connection-editor python-pylint python-pywal
|
||||
# temp removed packages:
|
||||
# hw-probe
|
||||
|
||||
# Optionally handle fonts
|
||||
FONT_DIR="$HOME/.local/share/fonts"
|
||||
|
||||
Reference in New Issue
Block a user