-
Notifications
You must be signed in to change notification settings - Fork 4
/
install-on-arch.sh
executable file
·113 lines (81 loc) · 2.66 KB
/
install-on-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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# Update pacman
echo "Updating pacman, just wait a little"
sudo pacman --noconfirm -Syu
# Install dependecies
echo "Installing a bunch of stuff"
sudo pacman -S --noconfirm --needed xorg xorg-xinit\
bspwm sxhkd \
lightdm lightdm-gtk-greeter \
git python3 gcc base-devel \
xwallpaper \
ttf-ubuntu-font-family \
rofi \
papirus-icon-theme \
yarn \
nodejs \
npm \
xclip \
cmake \
ttf-nerd-fonts-symbols
# Setup lightdm and nitrogen
sudo systemctl enable lightdm &
# Installing NVIM
sudo pacman -S --noconfirm --needed neovim
# Install rust for alacritty
echo "##############################"
echo "installing Rust and alacritty"
echo "##############################"
sudo pacman -S --needed rustup cargo
rustup default stable
# Installing paru
git clone https://aur.archlinux.org/paru.git ./.srcs/paru
cd ./.srcs/paru
makepkg -si
paru -Syu
# Install picom from jonaburg's repo
paru -S picom-jonaburg-git
# Installing alacritty
paru -S --noconfirm --needed alacritty
# Installing eww
sudo cp -r ~/GAR/bin/eww /usr/bin/
# Nvim plugin stuff
paru -S vim-plug
# Copying BSPWM, SXHKD, NVIM, Alacritty and PICOM configs
mkdir ~/.config
# BSPWM and SXHKD
mkdir ~/.config/bspwm/
mkdir ~/.config/sxhkd/
sudo cp -r ~/GAR/configs/bspwm/bspwmrc ~/.config/bspwm/
sudo cp -r ~/GAR/configs/sxhkd/sxhkdrc ~/.config/sxhkd/
# Alacritty
mkdir ~/.config/alacritty/
sudo cp -r ~/GAR/configs/alacritty/alacritty.yml ~/.config/alacritty/
sudo rm ~/.bashrc
sudo cp ~/GAR/configs/bashrc/.bashrc ~/.bashrc
# Nvim. Thanks uncle!
sudo npm install -g neovim
sudo cp -r ~/GAR/configs/nvim/ ~/.config/nvim/
# Picom
mkdir ~/.config/picom/
sudo cp -r ~/GAR/configs/picom/picom.conf ~/.config/picom/
# Scripts
sudo cp -r ~/GAR/configs/scripts/ ~/.config/scripts/
sudo chmod 777 ~/.config/scripts/windowswitch.sh
# Eww
mkdir ~/.config/eww/
sudo cp -r ~/GAR/configs/eww/eww.yuck ~/.config/eww/
sudo cp -r ~/GAR/configs/eww/eww.scss ~/.config/eww/
# Rofi
mkdir ~/.config/rofi/
sudo cp -r ~/GAR/configs/rofi/config.rasi ~/.config/rofi/
sudo cp -r ~/GAR/configs/rofi/launcher.rasi ~/.config/rofi/
# Neofetch
mkdir ~/.config/neofetch/
sudo cp -r ~/GAR/configs/neofetch/ascii ~/.config/neofetch/
sudo cp -r ~/GAR/configs/neofetch/config.conf ~/.config/neofetch/
# Wallpaper
mkdir ~/.config/wallpapers/
sudo cp -r ~/GAR/wallpapers/*.* ~/.config/wallpapers/
# Copying xinit and xprofile
sudo cp ~/GAR/xconfigs/.xinit ~/
sudo cp ~/GAR/xconfigs/.xprofile ~/