-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautomation.sh
executable file
·107 lines (85 loc) · 3.28 KB
/
automation.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
#!/bin/bash
# Curl
sudo apt install apt-transport-https curl
# Snap
sudo apt install snapd
# Vim
sudo apt install vim
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# NVM
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
nvm install node
nvm install 12.13.1
nvm alias default 12.13.1
# Yarn
npm install --global yarn
# Regolith stuff
sudo apt install i3xrocks-temp
sudo apt install regolith-look-nord
regolith-look refresh
# Telegram
sudo snap install telegram-desktop
# Brave
sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list
sudo apt update
sudo apt install brave-browser
# Chrome
cd ~/Downloads
wget -c https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
rm google-chrome-stable_current_amd64.deb
cd ~
# VSCodium & VSCode
snap install codium --classic
sudo snap install code --classic
# bPyTop
sudo snap install bpytop
# Compton
sudo apt update && sudo apt install compton
# Ranger
sudo apt install ranger
cd ~/Downloads
curl -L -O https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/Arimo/Regular/complete/Arimo%20Regular%20Nerd%20Font%20Complete.ttf
cd ~
sudo apt install w3m w3m-img
git clone https://github.com/alexanderjeurissen/ranger_devicons ~/.config/ranger/plugins/ranger_devicons
sudo apt-get install highlight
# Nitrogen
sudo apt install nitrogen
# Autokey
sudo apt install autokey-gtk
# VLC
sudo apt install vlc
# Calc
sudo apt install gnome-calculator
# GitHub Desktop
cd ~/Downloads
sudo wget https://github.com/shiftkey/desktop/releases/download/release-2.8.1-linux2/GitHubDesktop-linux-2.8.1-linux2.deb
sudo dpkg -i GitHubDesktop-linux-2.8.1-linux2.deb
rm GitHubDesktop-linux-2.8.1-linux2.deb
cd ~
# DBeaver & pSQL drivers
cd ~/Downloads
curl -L -O https://dbeaver.io/files/22.0.3/dbeaver-ce_22.0.3_amd64.deb
sudo dpkg -i dbeaver-ce_22.0.3_amd64.deb
rm dbeaver-ce_22.0.3_amd64.deb
cd ~
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get -y install postgresql-13
# Then:
# sudo -u postgres psql
# psql -U postgres -h localhost
# ZSH
sudo apt install zsh
chsh -s $(which zsh)
# Oh My Zsh! & Plugins
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/spaceship-prompt/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt" --depth=1
ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc