-
Notifications
You must be signed in to change notification settings - Fork 0
/
newComputerSetup.sh
executable file
·54 lines (47 loc) · 1.41 KB
/
newComputerSetup.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
#!/bin/bash
sudo cp emap /usr/bin/
cd
sudo apt-get update
sudo apt install npm
sudo npm install -g yarn
sudo apt install curl
sudo apt install pavucontrol
sudo apt-get -y install i3
sudo apt-get -y install git
mkdir ~/.config # Probably already exists. That is fine
cd ~/.config
mkdir i3
cd ~/dotfiles
cp i3/config ~/.config/i3/
sudo apt-get -y install python3-pip
sudo apt-get -y install python3
sudo apt-get -y install redshift
sudo snap install discord
sudo snap install spotify
sudo snap install --classic code
sudo apt-get -y install firefox
# Neovim setup
sudo apt-get -y install neovim
cd ~/.config
mkdir nvim
cd ~/dotfiles
cp neovim/neovimConfig ~/.config/nvim/init.vim
git config --global core.editor "nvim"
# Screen layout (monitors)
# use arandr/xrandr to fix
# sudo apt install arandr
mkdir ~/.screenlayout
cp LAYOUT.sh ~/.screenlayout/
cd
echo "alias vim=\"nvim\"" >> .bashrc
echo "alias g-a=\"git add\"" >> .bashrc
echo "alias g-d=\"git diff\"" >> .bashrc
echo "alias g-dh=\"git diff HEAD\"" >> .bashrc
echo "alias g-s=\"git status\"" >> .bashrc
echo "alias g-pl=\"git pull\"" >> .bashrc
echo "alias g-ps=\"git push\"" >> .bashrc
echo "alias g-c=\"git commit\"" >> .bashrc
echo "alias g-full=\"git add -u && git commit && git push\"" >> .bashrc
echo "alias g-fop=\"git fetch origin --prune\"" >> .bashrc
source .bashrc
# Also go into vscode -> File -> preferences -> settings -> search "dispatch" and change to "keyCode"