-
Notifications
You must be signed in to change notification settings - Fork 0
/
arch.sh
executable file
·93 lines (74 loc) · 1.89 KB
/
arch.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
#!/usr/bin/env bash
# Log commands to console
set -v
# Update System
sudo pacman -Syuu
# Install base packages
sudo pacman -S yay base-devel
# Install packages
yay -S android-tools \
bitwarden \
clang \
dfu-programmer \
docker \
fish \
gcc \
git \
gnome-screenshot \
htop \
jdk-openjdk \
jq \
lm_sensors \
nerd-fonts-iosevka \
nordvpn-bin \
noto-fonts-emoji \
ntp \
openrgb \
polybar \
python-powerline-git \
rofi-wayland \
rxvt-unicode \
screenfetch \
spotify \
sublime-text-4 \
telegram-desktop \
vim \
waybar
# Remove base packages
yay -R hexchat \
palemoon-bin \
ttf-inconsolata
fish -c "curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher"
# Install Fisher dependencies
fish -c "fisher install laughedelic/pisces oh-my-fish/rvm jethrokuan/z joseluisq/[email protected]"
# Setup coding folders
mkdir -p ~/coding && cd configs
# Setup Fish
mkdir -p ~/.config/fish/configs
cp fish/aliases.fish ~/.config/fish/configs/aliases.fish
cp fish/env.fish ~/.config/fish/configs/env.fish
cp fish/functions.fish ~/.config/fish/configs/functions.fish
cp fish/init.fish ~/.config/fish/config.fish
# Setup FNM
curl -fsSL https://fnm.vercel.app/install | bash
# Setup GIT
cp git/gitignore ~/.gitignore
cp git/gitconfig_global ~/.gitconfig_global
# Setup Xresources
cp ~/.Xresources ~/.Xresources.back
cp urxvt/Xresources ~/.Xresources
# Setup Rofi
cp -r rofi ~/.config/rofi
# Setup Polybar
cp -r polybar/minimal ~/.config/polybar
# Setup Tmux
cp tmux/tmux.conf ~/.tmux.conf
# Done with the configs
cd ..
# Set fish as default shell
chsh -s $(which fish)
# Propriatary setup
if [[ -d /run/media/joaopaulo/propsetup ]]; then
sh -C "/run/media/joaopaulo/propsetup/setup.sh"
fi
echo "Happy Coding"