inital commit

This commit is contained in:
2025-03-04 14:37:46 +01:00
commit 6711294f5e
33 changed files with 551 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
#!/bin/bash
set -e
sudo pacman -Syu fish neovim uwsm python3 util-linux libnewt wofi kitty yazi playerctl tldr flatpak zen-browser-avx2-bin wl-clipboard hyprland hyprpaper hypridle hyprlock xdg-desktop-portal-hyprland xdg-desktop-portal-gtk scx-scheds pipewire wireplumber pavucontrol man-db fastfetch btop pipewire-audio pipewire-alsa pipewire-pulse mako libnotify feh slurp grim swappy cliphist file nerd-fonts ffmpeg 7zip jq poppler fd ripgrep fzf zoxide imagemagick bat eza npm bc vesktop mangohud goverlay steam gimp spotify-launcher obs-studio gamescope gamemode bluez bluez-utils blueman heroic-games-launcher chezmoi github-cli --needed --noconfirm
if ! groups "$USER" | grep -qw "gamemode"; then
sudo usermod -aG gamemode "$USER"
fi
if ! echo $PATH | grep -q "$HOME/.local/bin"; then
fish_add_path "$HOME/.local/bin"
fi
if ! echo $SHELL | grep -qw "/usr/bin/fish"; then
chsh -s "$(command -v fish)"
fi
if ! pacman -Q yay &>/dev/null; then
echo "Yay is not installed, installing..."
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git $HOME/yay
cd $HOME/yay
makepkg -si
cd ..
rm yay -rf
else
echo "Yay is installed..."
yay -S hyprsunset hyprpolkitagent eww --needed
fi
flatpak update --noninteractive
flatpak install --noninteractive net.rpcs3.RPCS3
systemctl --user enable hypridle hyprpolkitagent pipewire-pulse hypridle
sudo systemctl enable bluetooth