config/install.sh
2023-11-05 18:32:35 +10:00

49 lines
1.8 KiB
Bash
Executable file

#!/bin/sh
set -ex
sudo pacman -Syu --noconfirm
# Install dev packages
sudo pacman -S --needed --noconfirm base-devel btop curl fish flatpak git hyfetch imagemagick less python-pygments rustup stow xdg-user-dirs
xdg-user-dirs-update
rustup install stable
# Install paru
git clone https://aur.archlinux.org/paru.git /tmp/paru
(cd /tmp/paru; makepkg -si --needed --noconfirm)
# Stow dotfiles
mkdir -p ~/.config/fish
stow */
# Setup fish shell
fish -c "curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher && fisher update"
sudo chsh $USER -s /usr/bin/fish
# Audio
sudo pacman -S --needed --noconfirm easyeffects helvum pamixer pipewire pipewire-alsa pipewire-audio pipewire-jack pipewire-pulse playerctl wireplumber
# Codecs
sudo pacman -S --needed --noconfirm gst-libav gst-plugin-pipewire gst-plugins-base gst-plugins-good gstreamer gstreamer-vaapi libde265
# Greeter
sudo pacman -S --needed --noconfirm sddm
sudo systemctl enable sddm
# Window Manager
paru -S --needed --noconfirm brightnessctl fuzzel gammastep grim hyprland mako network-manager-applet polkit-kde-agent slurp swayidle swaylock-effects-git swww waybar xdg-desktop-portal-gtk xdg-desktop-portal-hyprland xdg-desktop-portal-wlr
mkdir -p ~/Pictures/Screenshots
# Fonts
sudo pacman -S --needed --noconfirm noto-fonts noto-fonts-cjk noto-fonts-emoji noto-fonts-extra ttf-firacode-nerd ttf-liberation wqy-zenhei
# Bluetooth
sudo pacman -S --needed --noconfirm blueberry bluez bluez-utils
sudo systemctl enable bluetooth
# File management
sudo pacman -S --needed --noconfirm atool ffmpegthumbnailer highlight mediainfo python-pillow ranger transmission-cli
# GUI Applications
sudo pacman -S --needed --noconfirm discord firefox imv kitty mpv