dotfiles/install.bash

43 lines
1.5 KiB
Bash

#!/bin/bash
# Run as root
# Kitty tab bar: https://github.com/kovidgoyal/kitty/discussions/4447#discussioncomment-3240635
ln -s ~/dotfiles/.conf/hypr ~/.config/hypr
ln -s ~/dotfiles/.conf/hyprpaper ~/.config/hyprpaper
ln -s ~/dotfiles/.conf/fastfetch ~/.config/fastfetch
ln -s ~/dotfiles/.conf/mimeapps.list ~/.config/mimeapps.list
ln -s ~/dotfiles/wallpapers ~/wallpapers
# Move application .desktop files
# Desktop files are used to create recognizable applications or force apps to use wayland
cp .local/share/applications/* ~/.local/share/applications/
# Hyperland stuff
# uwsm needed for launching hypr on boot
pacman -S uwsm hyprland xdg-desktop-portal-hyprland hyprpaper
# Basic essentials
pacman -S waybar dunst libnotify wofi pipewire brightnessctl man-db man-pages
# Yazi dependencies (but also useful otherwise)
pacman -S yazi ffmpeg poppler fd p7zip
# Other software
# Use amdctl for undervolting
pacman -S btop ripgrep bat neovim nano grim slurp dust fastfetch imv wl-clipboard amdctl
# Font
# Delete all fonts in /usr/share/fonts
pacman -S ttf-inconsolata-lgc-nerd
# Networking
# For connecting to eduroam install config with this script: https://cat.eduroam.org/
# wpa_supplicant is dependency of networkmanager that was not installed for some reason.
# Run networkmanager with "nmcli dev wifi connect 'ssid' password 'password'"
pacman -S networkmanager wpa_supplicant
# Fix Electron Apps Wayland scaling issue:
# If app doesn't work, add "--no-sandbox" to app in /usr/share/applications/
ln -s ~/dotfiles/.conf/environment.d ~/.config/environment.d