๐Ÿ“ฆ haasal / arch-config

Configuration for a personalized arch installation

โ˜… 0 stars โ‘‚ 0 forks ๐Ÿ‘ 0 watching
๐Ÿ“ฅ Clone https://github.com/haasal/arch-config.git
HTTPS git clone https://github.com/haasal/arch-config.git
SSH git clone git@github.com:haasal/arch-config.git
CLI gh repo clone haasal/arch-config
Alexander Haas Alexander Haas Update README.md 2d63e64 2 years ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ .vscode
๐Ÿ“„ README.md
๐Ÿ“„ README.md

Arch Setup

Basic userspace setup

packages=(
    # basic utilities
    git
    base-devel
    curl
    wget
    zsh
    python
    ssh
    # advanced
    firefox
    github-cli
)

sudo pacman -S --needed "${packages[@]}"

# install yay
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
cd .. && rm -rf yay

ZSH Setup

Install packages:

yay -S ttf-firacode-nerd antigen

Edit .zshrc:

alias gac="git add -A && git commit -m"
alias spm="sudo pacman"
alias open="xdg-open"

# install antigen
source /usr/share/zsh/share/antigen.zsh

# load ohmyzsh
antigen use oh-my-zsh

# ohmyzsh plugins
antigen bundle git
antigen bundle pip
antigen bundle globalias

# external plugins
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle zsh-users/zsh-autosuggestions
antigen bundle marlonrichert/zsh-autocomplete@main

# theme
antigen theme spaceship-prompt/spaceship-prompt

# Apply setup
antigen apply

Neovim Setup

# prerequisits
yay -S nvim-packer-git neovim
mkdir ~/.config

# install config
git clone https://github.com/haasal/nvim-config ~/.config/nvim

Then do :PackerSync inside neovim. To add support for a new language/framework use:

:TSInstall <lang>
:MasonInstall <lang>

Alacritty setup

# Install alacritty
spm -S alacritty
# Install themes extension from here: https://github.com/alacritty/alacritty-theme

Set ~/.config/alacritty/alacritty.yml

import:
 - ~/.config/alacritty/themes/themes/tokyo-night-storm.yaml

window:
   dimensions:
     columns: 133
     lines: 40