-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
168 lines (138 loc) · 3.89 KB
/
install.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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
########## INSTALLATION PROCESS ##########
# TODO: add installation process
# fix for:
# - keyboard layout
localectl set-x11-keymap it
# install for:
# - base-devel
# - kernel headers
# - ALSA
# - Xorg
# - xinit
# - XRandR
# - Git
# - curl
# - sudo
# - wget
sudo pacman -S base-devel linux-headers alsa-utils xf86-video-amdgpu xorg-server xorg-xinit xorg-xrandr git curl sudo wget
########## GIT ##########
# setup for:
# - git
git config --global user.name "aflaag"
git config --global user.email "[email protected]"
########## PARU ##########
# install for:
# - paru
git clone https://aur.archlinux.org/paru.git
cd paru
pakepkg -si
########## PACKAGES ##########
# install for:
# - archlinux-keyring
# - ark
# - bat
# - betterlockscreen
# - BlueZ
# - bspwm
# - btop
# - droidcam (and dependencies)
# - dunst
# - dust
# - Firefox
# - GIMP
# - github-cli
# - gnome-keyring
# - htop
# - icu69-bin (fix for Visual Studio Code)
# - Java
# - kitty
# - nitrogen
# - Neovim
# - nodejs
# - PulseAudio Volume Control
# - PipeWire
# - Polybar
# - Python (and libraries)
# - ripgrep
# - Ristretto
# - Rofi
# - rustup
# - SDDM
# - Spectacle
# - SpeedCrunch
# - sxhkd
# - Telegram
# - TeX Live
# - Thunar
# - Timeshift
# - tldr
# - unrar
# - unzip
# - Visual Studio Code
# - VLC
# - xclip
# - xcolor
# - xpad
# - zathura (and dependencies)
# - zoxide
paru -S archlinux-keyring ark bat betterlockscreen bluez bluez-utils bspwm btop code droidcam dunst dust firefox gimp github-cli gnome-keyring htop icu69-bin jre-openjdk kitty nitrogen neovim nodejs pavucontrol pipewire-alsa pipewire-cli pipewire-media-session pipewire-pulse polybar python python-aiohttp python-pillow python-pip python-wheel ripgrep ristretto rofi rustup sddm spectacle speedcrunch sxhkd telegram-desktop texlive-basic texlive-bibtexextra texlive-fontsrecommended texlive-fontsextra texlive-latex texlive-langitalian texlive-mathscience texlive-meta thunar timeshift tldr unrar unzip v4l2loopback-dkms vlc xclip xcolor xpad zathura zathura-pdf-mupdf zoxide
########## SYSTEMCTL ##########
# TODO: consider removing SDDM
# setup for:
# - SDDM
sudo systemctl enable sddm.service
# setup for:
# - bluetooth
systemctl enable bluetooth.service
########## CONFIG ##########
# install for:
# - .config
cd ~
rm -rf .config
git clone https://github.com/aflaag/.config
########## GITHUB ##########
# setup for:
# - github-cli
cd ~
gh auth login
# MANUAL: complete the setup
########## ZSH ##########
# install for:
# - Oh My Zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# install for:
# - zsh-autosuggestions for Zsh
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
# install for
# - zsh-syntax-highlighting for Zsh
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
# setup for:
# - Zsh
cd ~
ln -s .config/.zshrc .
########## FONTS ##########
# install for:
# - CaskaydiaCove Nerd font (https://github.com/ryanoasis/nerd-fonts/releases/download/v3.1.1/CascadiaCode.zip)
# - NotoColorEmoji font (https://fonts.google.com/noto/specimen/Noto+Color+Emoji)
# - NotoSansJP font (https://fonts.google.com/noto/specimen/Noto+Sans+JP)
#
# (folder: /usr/local/share/fonts)
fc-cache -fv
########## TEX ##########
# fix for:
# - Tex Live
sudo fmtutil-sys --all
########## NITROGEN ##########
# fix for:
# - nitrogen
mkdir -p /usr/share/wallpapers
cd /usr/share/wallpapers
ln -s ~/.config/wallpaper.png
# manual fix for:
# - nitrogen
nitrogen /usr/share/wallpapers
# MANUAL: choose the correct wallpaper
########## OTHERS ##########
# install for:
# - pokemon-icat
git clone https://github.com/aflaag/pokemon-icat && cd pokemon-icat && sh ./install.sh