added support for arch

main
Nathan Buck 1 year ago
commit 8648b38bf7

189
setup

@ -0,0 +1,189 @@
# Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
#
# install cargo apps
#
# terminal emulator
cargo install alacritty
# fancy ls command
cargo install lsd
# cargo doc in terminal
cargo install rusty-man
# fancy cat
cargo install bat
if [[ uname -r == *"arch"* ]]; then
# update repos
pacman -Sy
# install basic dev tools
pacman -S git cmake gcc
# install window manager
pacman -S openbox
#
# Languages Stuff
#
# pip
pacman -S python3-pip
#
# Music
#
# player
pacman -S cmus
# streamrip
pip3 install streamrip --upgrade
# volume control
pacman -S pavucontrol
#
# Web
#
# email client
pacman -S thunderbird
# browser
pacman -S chromium-browser
# keybase
pacman -S keybase-bin
run_keybase
# install nvim
pacman -S neovim
# install file manager
pacman -S nnn
# install neofetch
pacmnan -S neofetch
# install steam
pacman -S steam
# install fonts
cd ~/bin/setup
git clone https://github.com/ryanoasis/nerd-fonts
cd nerd-fonts
./install.sh Hack
# bluetooth management
pacman -S bluez bluez-tools
pacman -S blueman
# screenshot
pacman -S flameshot
# kpcli
pacman -S kpcli
# upgrade everything
pacman -Syu
else
# update repos
sudo apt update
# install basic dev tools
sudo apt install git cmake gcc -y
# install window manager
sudo apt install openbox -y
#
# Languages Stuff
#
# pip
sudo apt install python3-pip -y
#
# install cargo apps
#
# terminal emulator
cargo install alacritty
# fancy ls command
cargo install lsd
# cargo doc in terminal
cargo install rusty-man
# fancy cat
cargo install bat
#
# Music
#
# player
sudo apt install cmus -y
# streamrip
pip3 install streamrip --upgrade
# volume control
sudo apt install pavucontrol -y
#
# Web
#
# email client
sudo apt install thunderbird -y
# browser
sudo apt install chromium-browser -y
# keybase
curl --remote-name https://prerelease.keybase.io/keybase_amd64.deb
sudo apt install ./keybase_amd64.deb
run_keybase
# install nvim
sudo apt install neovim -y
# install file manager
sudo apt install nnn -y
# install neofetch
sudo apt install neofetch -y
# install steam
sudo apt install steam-installer -y
# install fonts
cd ~/bin/setup
git clone https://github.com/ryanoasis/nerd-fonts
cd nerd-fonts
./install.sh Hack
# bluetooth management
sudo apt install bluez bluez-tools -y
sudo apt install blueman -y
# screenshot
sudo apt install flameshot
# kpcli
sudo apt install kpcli
# upgrade everything
sudo apt upgrade
fi
Loading…
Cancel
Save