Parent directory

init.sh

1689 bytes
 1#!/bin/sh
 2
 3# Install yay
 4sudo pacman -S --needed git base-devel
 5git clone https://aur.archlinux.org/yay.git /tmp/yay
 6cd /tmp/yay
 7makepkg -si
 8cd -
 9rm -rf /tmp/yay
10
11# Install packages
12GOPATH=$HOME/dev/go go install gitea.theedgeofrage.com/theedgeofrage/rpn
13
14# Oh My Zsh
15ohmyzsh_dir="$HOME/.config/zsh/oh-my-zsh"
16ohmyzsh_custom="${ohmyzsh_dir}/custom"
17git clone https://github.com/TheEdgeOfRage/ohmyzsh ${ohmyzsh_dir}
18git clone https://github.com/MichaelAquilina/zsh-you-should-use ${ohmyzsh_custom}/plugins/you-should-use
19git clone https://github.com/TheEdgeOfRage/zsh-autoswitch-virtualenv ${ohmyzsh_custom}/plugins/zsh-autoswitch-virtualenv
20git clone https://github.com/zsh-users/zsh-autosuggestions ${ohmyzsh_custom}/plugins/zsh-autosuggestions
21git clone https://github.com/zsh-users/zsh-completions ${ohmyzsh_custom}/plugins/zsh-completions
22git clone https://github.com/zsh-users/zsh-syntax-highlighting ${ohmyzsh_custom}/plugins/zsh-syntax-highlighting
23git clone https://github.com/TheEdgeOfRage/boban-zsh ${ohmyzsh_custom}/themes/boban
24git clone https://github.com/hlissner/zsh-autopair ${ohmyzsh_custom}/plugins/zsh-autopair
25
26# Keyboard layout
27sudo patch /usr/share/X11/xkb/symbols/us < ./us_colemak.patch
28
29# SSH agent
30sudo pacman -S gcr
31systemctl enable --user --now gcr-ssh-agent.socket
32
33# User systemd services
34systemctl enable --user --now waybar@config-top
35systemctl enable --user --now waybar@config-bottom
36systemctl enable --user --now hypridle
37systemctl enable --user --now hyprpaper
38systemctl enable --user --now hyprpolkitagent
39systemctl enable --user app-com.mitchellh.ghostty.service
40
41# Set cursor theme
42gsettings set org.gnome.desktop.interface cursor-theme Breeze_Light