2023-03-01 22:02:02 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Update and install base packages
|
2021-12-12 21:55:14 +00:00
|
|
|
sudo pacman -Syu
|
2023-03-01 22:02:02 +00:00
|
|
|
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
|
2022-05-16 19:03:20 +00:00
|
|
|
|
2023-03-01 22:02:02 +00:00
|
|
|
# Move relevant script and config files
|
2023-03-06 22:00:03 +00:00
|
|
|
ln -s ~/.config/.xinitrc ~/.xinitrc
|
2022-09-21 20:03:03 +00:00
|
|
|
mkdir ~/.dwm
|
2022-09-22 20:43:33 +00:00
|
|
|
mv ./autostart.sh ~/.dwm/autostart.sh
|
2022-09-21 19:42:08 +00:00
|
|
|
|
2023-03-01 22:02:02 +00:00
|
|
|
# Change Shell
|
2022-05-16 19:03:20 +00:00
|
|
|
chsh -s /usr/bin/fish
|
2021-12-12 21:55:14 +00:00
|
|
|
|
2023-03-01 22:02:02 +00:00
|
|
|
# Install rust (Used for Lemurs)
|
2023-02-28 22:15:03 +00:00
|
|
|
rustup install stable
|
|
|
|
|
2023-03-01 22:02:02 +00:00
|
|
|
# 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 ~
|
|
|
|
|
2023-03-01 22:02:02 +00:00
|
|
|
# Install packages through AUR
|
2021-12-12 22:30:00 +00:00
|
|
|
yay vscode
|
|
|
|
yay brave
|
2021-12-12 21:55:14 +00:00
|
|
|
|
2023-03-01 22:02:02 +00:00
|
|
|
# Install and Configure git elements
|
2022-09-22 20:26:13 +00:00
|
|
|
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
|
2023-02-09 20:50:26 +00:00
|
|
|
git clone https://github.com/coastalwhite/lemurs
|
2022-09-22 20:26:13 +00:00
|
|
|
|
2023-03-01 22:02:02 +00:00
|
|
|
# Install DWM
|
2022-09-22 20:59:33 +00:00
|
|
|
cd dwm
|
|
|
|
git checkout dwm-patched
|
|
|
|
sudo make install
|
|
|
|
cd ..
|
|
|
|
|
2023-03-01 22:02:02 +00:00
|
|
|
# Install dmenu
|
2022-09-22 20:59:33 +00:00
|
|
|
cd dmenu
|
|
|
|
sudo make install
|
|
|
|
cd ..
|
|
|
|
|
2023-03-01 22:02:02 +00:00
|
|
|
# Install DWMBlocks
|
2022-09-22 20:59:33 +00:00
|
|
|
cd dwmblocks
|
2022-11-16 21:38:52 +00:00
|
|
|
sudo cp ./statusbar/* /usr/local/bin/
|
2022-09-22 20:59:33 +00:00
|
|
|
sudo make install
|
|
|
|
cd ..
|
|
|
|
|
2023-03-01 22:02:02 +00:00
|
|
|
# Install Lemurs
|
2023-02-09 20:50:26 +00:00
|
|
|
cd lemurs
|
|
|
|
sudo chmod +x install.sh
|
|
|
|
./install.sh
|
2023-03-06 22:00:03 +00:00
|
|
|
sudo ln -s ~/.config/.xinitrc /etc/lemurs/wms/dwm
|
2022-11-16 21:38:52 +00:00
|
|
|
cd ..
|
|
|
|
|
2023-03-01 22:02:02 +00:00
|
|
|
# Install Oh-My-FISH
|
2022-09-22 20:43:33 +00:00
|
|
|
cd ~
|
2023-03-01 22:02:02 +00:00
|
|
|
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
|