.config/scripts/install.sh

77 lines
1.8 KiB
Bash
Raw Normal View History

#!/bin/bash
# Update and install base packages
2021-12-12 21:55:14 +00:00
sudo pacman -Syu
sudo pacman -Sy xorg-xsetroot alacritty awesome-terminal-fonts ttf-jetbrains-mono gnome-keyring playerctl # DE Setup
sudo pacman -Sy neovim vifm neofetch fish htop networkmanager-openvpn unzip ripgrep # Utilities
sudo pacman -Sy base-devel rustup go cmake docker # Dev
sudo pacman -Sy spotifyd discord # Userspace
# Move relevant script and config files
ln -s ~/.config/.xinitrc ~/.xinitrc
mkdir ~/.dwm
ln -s ~/.config/scripts/autostart.sh ~/.dwm/autostart.sh
2022-09-21 19:42:08 +00:00
# Change Shell
chsh -s /usr/bin/fish
2021-12-12 21:55:14 +00:00
# Install rust (Used for Lemurs)
rustup install stable
# Install AUR
2021-12-12 21:55:14 +00:00
cd /opt
sudo git clone https://aur.archlinux.org/yay.git
sudo chown -R luke-else:users ./yay
cd yay
makepkg -si
cd ~
# Install packages through AUR
yay brave-bin
2021-12-12 21:55:14 +00:00
# Install and Configure git elements
mkdir ~/git
cd ~/git
git config --global user.name "Luke Else"
git config --global user.email "mail@luke-else.co.uk"
git clone ssh://git@git.luke-else.co.uk:222/luke-else/dwm.git
git clone ssh://git@git.luke-else.co.uk:222/luke-else/dmenu.git
git clone ssh://git@git.luke-else.co.uk:222/luke-else/dwmblocks.git
git clone https://github.com/coastalwhite/lemurs
# Install DWM
cd dwm
git checkout dwm-patched
sudo make install
cd ..
# Install dmenu
cd dmenu
sudo make install
cd ..
# Install DWMBlocks
cd dwmblocks
sudo make install
sudo ln -s ~/git/dwmblocks/statusbar/* /usr/bin/local/
cd ..
# Install Lemurs
cd lemurs
sudo chmod +x install.sh
./install.sh
sudo ln -s ~/.config/.xinitrc /etc/lemurs/wms/dwm
2022-11-16 21:38:52 +00:00
cd ..
# Install Oh-My-FISH
cd ~
curl https://raw.githubusercontent.com/oh-my-fish/oh-my-fish/master/bin/install | fish
# Install Packer.nvim
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
~/.local/share/nvim/site/pack/packer/start/packer.nvim