.config/scripts/install.sh

78 lines
1.7 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
mv ./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
2021-12-12 22:30:00 +00:00
yay vscode
yay brave
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
2022-11-16 21:38:52 +00:00
sudo cp ./statusbar/* /usr/local/bin/
sudo make install
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