-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path0-arch-install-script.sh
executable file
·157 lines (143 loc) · 6.57 KB
/
0-arch-install-script.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
#!/bin/bash
##########################
######## SECTIONS ########
##########################
# 1. Core
# 2. Basic
# 3. Fonts
# 4. AUR Helper
# 5. Themes, Icons
# 6. Neovim config
####################
###### 1.Core ######
####################
#sudo pacman -S --needed btrfs-progs linux-zen-headers linux-firmware vim intel-ucode snapper archlinux-keyring
#sudo pacman -S --needed wpa_supplicant mtools dosfstools base-devel avahi xdg-user-dirs xdg-user-dirs-gtk
#sudo pacman -S --needed xdg-utils gvfs gvfs-smb gvfs-mtp nfs-utils inetutils dnsutils bluez bluez-utils blueman cups
#sudo pacman -S --needed alsa-utils pipewire pipewire-alsa pipewire-pulse pavucontrol bash-completion openssh rsync reflector
#sudo pacman -S --needed acpi virt-manager qemu qemu-full edk2-ovmf bridge-utils dnsmasq vde2 openbsd-netcat iptables-nft ipset
#sudo pacman -S --needed flatpak sof-firmware nss-mdns acpid os-prober ntfs-3g terminus-font android-udev ufw gufw
#sudo ufw default deny
#sudo ufw allow from 192.168.0.0/24
#sudo ufw allow Deluge
#sudo ufw limit ssh
#sudo ufw enable
#####################
###### 2.Basic ######
#####################
#sudo pacman -S --needed stow neovim git vim firefox wget zsh dash bat pkgfile thunderbird thermald
#sudo pacman -S --needed fzf zoxide unzip unrar bc sysstat tk less ripgrep pyenv python-pipx
#sudo pacman -S --needed nvidia-dkms acpi_call-dkms nvidia-utils nvidia-settings brightnessctl
#sudo pacman -S --needed egl-wayland lib32-nvidia-utils lib32-opencl-nvidia opencl-nvidia
#sudo pacman -S --needed libva-nvidia-driver vulkan-mesa-layers lib32-vulkan-mesa-layers nvidia-prime
#sudo systemctl enable NetworkManager
#sudo systemctl enable thermald.service
#sudo systemctl enable ufw.service
#sudo systemctl enable bluetooth.service
#sudo systemctl enable cups.service
#sudo systemctl enable sshd
#sudo systemctl enable avahi-daemon
#sudo systemctl enable reflector.timer
#sudo systemctl enable fstrim.timer
#sudo systemctl enable libvirtd
#sudo systemctl enable acpid
#sudo systemctl enable systemd-resolved.service
#sudo usermod -aG libvirt,audio,video aloks
#####################
###### 3.Fonts ######
#####################
# win fonts from iso
#sudo pacman -S --needed ttf-jetbrains-mono-nerd ttf-firacode-nerd ttf-jetbrains-mono ttf-cascadia-code-nerd
###################################
####### 4.Paru (AUR helper ) ######
###################################
#if ! command -v paru &> /dev/null
#then
# printf "\n"
# printf "########################################\n"
# printf "##### Installing paru (AUR Helper) #####\n"
# printf "########################################\n\n"
# git clone https://aur.archlinux.org/paru-bin.git
# cd paru-bin
# makepkg -si
#else
# printf "\n"
# printf "#######################################\n"
# printf "###### paru is already installed ######\n"
# printf "#######################################\n"
#fi
###############################
####### 5. Themes, Icons ######
###############################
#cd; mkdir icons-themes; cd icons-themes
#git clone https://github.com/vinceliuice/WhiteSur-gtk-theme.git --depth=1
#cd WhiteSur-gtk-theme
#./install.sh
## close firefox before this next command
#./tweaks.sh -f monterey
#cd ..
#git clone https://github.com/vinceliuice/Qogir-icon-theme.git
#cd Qogir-icon-theme
#sudo ./install.sh
#cd
###################################################
###################### QTILE ######################
###################################################
#sudo pacman -S --needed feh xsel xclip # x11 packages
#sudo pacman -S --needed python-xdg python-pywlroots python-dbus-next python-iwlib xorg-xwayland python-setproctitle wl-clipboard wl-clip-persist
#sudo pacman -S --needed plasma-wayland-protocols wayland-protocols wlr-protocols grim slurp python-dbus-fast
#sudo pacman -S --needed jupyter_console khal nwg-look polkit-gnome gnome-keyring kvantum-theme-materia kvantum-qt5 swww bpytop yazi rofi-wayland exa
#sudo pacman -S --needed qt5ct qt6ct ffmpegthumbnailer xarchiver gammastep xdg-desktop-portal xdg-desktop-portal-wlr mako kanshi
#sudo pacman -S --needed thunar thunar-volman tumbler catfish thunar-archive-plugin thunar-media-tags-plugin poppler-glib libgsf libgepub libopenraw mlocate
#paru -S --needed qtile-extras-git kitty
#mv ~/.config/qtile ~/.config/qtile.bak
#git clone https://github.com/alokshandilya/qtile.git ~/.config/qtile
#################################################
###################### GIT ######################
#################################################
#git config --global init.defaultBranch main
#git config --global core.editor nvim
#git config --global user.name alokshandilya
#git config --global user.email [email protected]
######################################################
###################### DOTFILES ######################
######################################################
#git clone https://github.com/alokshandilya/dotfiles.git ~/dotfiles
#cd ~/dotfiles
#mkdir -p ~/.local/share/applications
#mkdir -p ~/.local/bin/scripts
#mkdir -p ~/.local/bin/dwmblocks
##stow .
##################################################
###################### AURs ######################
##################################################
# COPY AND RUN ON ANOTHER TERM INSTANCE (TO SAVE TIME)
#
#paru -S --needed spotify visual-studio-code-bin android-sdk-platform-tools masterpdfeditor-free
#paru -S --needed zoom envycontrol dropbox downgrade pandoc-bin postman-bin google-chrome gpu-screen-recorder-gtk
#paru -S --needed caffeine-ng picom-git # for x11
#sudo usermod -aG adbusers,kvm aloks
###############################################
########### zsh, fnm, docker, pyenv ###########
###############################################
#paru -S --needed pkgfile unzip wget unrar bc sysstat tk zsh zsh-syntax-highlighting zsh-autosuggestions
#paru -S --needed tidy shellcheck-bin python-pipx glow
#paru -S --needed starship ttf-twemoji docker docker-buildx
#sudo ln -sf /usr/share/fontconfig/conf.avail/75-twemoji.conf /etc/fonts/conf.d/75-twemoji.conf
#sudo systemctl enable docker.socket
#sudo usermod -aG docker aloks
#sudo pkgfile --update
#
#chsh -s /usr/bin/zsh
#curl -fsSL https://fnm.vercel.app/install | bash -s -- --skip-shell
## pyenv install 3.12.4
################################################
########### lvim, doom emacs, vscode ###########
################################################
## fnm ls-remote
## fnm install <node-version>
#npm i -g js-beautify markdownlint yarn
#pipx install pyflakes isort pipenv nose pytest ruff pyright
#sudo pacman -S --needed lazygit git make cargo ripgrep direnv
# mv ~/.config/nvim ~/.config/nvim.bak
#git clone https://github.com/alokshandilya/nvim ~/.config/nvim