dotfiles/init.sh

35 lines
1.4 KiB
Bash
Executable File

#!/bin/sh
# Install yay
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git /tmp/yay
cd /tmp/yay
makepkg -si
cd -
rm -rf /tmp/yay
# Install packages
git clone https://github.com/TheEdgeOfRage/bumblebee-status ~/.local/share/bumblebee-status
GOPATH=$HOME/dev/go go install gitea.theedgeofrage.com/theedgeofrage/rpn
# Oh My Zsh
ohmyzsh_dir="$HOME/.config/zsh/oh-my-zsh"
ohmyzsh_custom="${ohmyzsh_dir}/custom"
git clone https://github.com/TheEdgeOfRage/ohmyzsh ${ohmyzsh_dir}
git clone https://github.com/MichaelAquilina/zsh-you-should-use ${ohmyzsh_custom}/plugins/you-should-use
git clone https://github.com/TheEdgeOfRage/zsh-autoswitch-virtualenv ${ohmyzsh_custom}/plugins/zsh-autoswitch-virtualenv
git clone https://github.com/zsh-users/zsh-autosuggestions ${ohmyzsh_custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-completions ${ohmyzsh_custom}/plugins/zsh-completions
git clone https://github.com/zsh-users/zsh-syntax-highlighting ${ohmyzsh_custom}/plugins/zsh-syntax-highlighting
git clone https://gitea.theedgeofrage.com/TheEdgeOfRage/boban-zsh ${ohmyzsh_custom}/themes/boban
# Keyboard layout
cat ./custom_colemak | sudo tee -a /usr/share/X11/xkb/symbols/us
# SSH agent
sudo pacman -S gcr
systemctl enable --user --now gcr-ssh-agent.socket
# Set cursor theme
gsettings set org.gnome.desktop.interface cursor-theme Breeze_Snow