cbsh/postinstall-arch.sh
2021-10-22 16:27:09 +00:00

68 lines
2.6 KiB
Bash

#!/bin/bash
# -*- ENCODING: UTF-8 -*-
## First First Off, Get pacman's sources up to date
sudo pacman -Syu
## First Off, install yay (Uncomment depending whether you use mainline arch / arch based, or a distro that packages yay, like Manjaro)
pacman -S --needed git base-devel yay ## For Distros that Package yay (mainly Manjaro) -- This can be behind on updates depending on how fast the specific discro updates their yay Package
## Arch Based (if not packaged already like Manjaro) / Arch Mainline
# pacman -S --needed git base-devel
# git clone https://aur.archlinux.org/yay-bin.git
# cd yay-bin
# makepkg -si
## Sanity Check, Make sure Pacman and Yay are up to date.
sudo pacman -Syu
yay -Syu
### Now to the fun part, installing all the things.
### Utilities
### Development
## Teminal Shell -- Choose the one you feel most comfortable with, or add your own.
# ZSH -- Comment this out if you're on Manjaro, Manjaro Pahvo has zsh installed by default, at least as of recently, since only Yakuake seems to be setup to use it, so you only need to change your shell to zsh if it's not done so already, i cannot comment on Pahvo GNOME or Majaro Ornara (XFCE) though, as i'm a KDE Plasma user.
# chsh -s $(type zsh) # For Manjaro, Change Shell to zsh -- If you're using Alacritty, you will have to double check and make sure the config is using zsh instead of bash, but i will include a basic config file to get you going.
# sudo pacman -S zsh # For Everyone else, install it as normal.
## Terminal Emulators -- Choose the one you feel most comfortable with, or add your own.
sudo pacman -Sy alacritty # Alacritty Terminal
# sudo pacman -Sy rvxt-unicode # Rvxt Unicode Terminal
# sudo pacman -Sy xterm # Xterm.... Terminal... yeah.
#
# sudo pacman -Sy # Use this line to specify your own terminal emulator, if its not in the repos, check the AUR and use yay to install it
## Text Editors / IDE's -- Stuff like VSCodium and that
sudo pacman -Sy vscodium-bin # VSCodium, the FOSS version of Code that MS builds their Proprietary version atop of, has no MS Tracking and a FOSS extension store called Open-VSX
## If you chose Alacritty, this script will install a basic config file for you to play with yourself,
if ! type alacritty &> /dev/null
git clone
else
echo "Alacritty Not Installed, Skipping..."
end
### Internet
### Games
### DE's and WM's -- You may ignore this section if you are using an arch based system as they tend to give you a choice of DE/WM pre-bundled
### Multimedia
### Productivity