-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlinux_setup.sh
executable file
·43 lines (35 loc) · 1.12 KB
/
linux_setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/bash
# stow bin -t ~
stow scripts -t ~
. /etc/os-release
case $ID in
ubuntu)
echo "This is Ubuntu!"
sudo apt update
sudo apt install -y stow neovim fish ranger silversearcher-ag make net-tools cmake
mv ~/.bashrc ~/.bashrc.bak || true
stow server -t ~
chsh -s $(which fish)
echo "Done!"
;;
arch)
echo "This is Arch Linux!"
stow bspwm -t ~
stow screen -t ~
# only on arch
stow tmux -t ~
stow fish -t ~
stow bash -t ~
stow alacritty -t ~
stow X -t ~
# install paru
sudo pacman -S firefox-developer-edition emacs tmux alacritty neovim the_silver_searcher tk zathura zathura-pdf-poppler tailscale ranger
sudo pacman -S ttf-jetbrains-mono-nerd ttf-fira-code ttf-fira-sans ttf-linux-libertine ttf-dejavu-sans-mono-powerline-git
sudo paru -S google-chrome slack-desktop dropbox ttf-monaco
# sudo paru -S texlive biber texlive-lang
;;
centos) echo "This is CentOS!"
;;
*) echo "This is an unknown distribution."
;;
esac