-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevconf.sh
More file actions
executable file
·68 lines (55 loc) · 2.02 KB
/
devconf.sh
File metadata and controls
executable file
·68 lines (55 loc) · 2.02 KB
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
# Installer for my dotfiles and general setup within a Manjaro i3 environment
# sort mirrors
sudo pacman --noconfirm -S reflector
reflector --verbose --latest 5 --sort rate --save /etc/pacman.d/mirrorlist
# remove hexchat bloat
sudo pacman --noconfirm -R hexchat
# update existing
pacman --noconfirm -Syu
# basic packages
packages=("python" "vim" "curl" "wget" "firefox-developer-edition" "transmission-gtk" "inkscape" "gimp" "discord" "audacity")
for package in ${packages[@]}; do
sudo pacman --noconfirm -S $package
done
# aur packages
aurs=("visual-studio-code-bin")
for aur in ${aurs[@]}; do
yes | sudo pamac build $aur
done
# install rust via rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# install pulseaudio
install_pulse
# install vscode extensions
extensions=("adpyke.vscode-sql-formatter" "aeschli.vscode-css-formatter" "matklad.rust-analyzer" "ms-python.python" "ms-toolsai.jupyter" "PKief.material-icon-theme" "streetsidesoftware.code-spell-checker" "tomoki1207.pdf" "VisualStudioExptTeam.vscodeintellicode" "whizkydee.material-palenight-theme" "yzhang.markdown-all-in-one")
for extension in ${extensions[@]}; do
code --install-extension $extension
done
# apply files
cd files/
cp 30-touchpad.conf /etc/X11/xorg.conf.d/30-touchpad.conf
cp .vimrc $HOME/.vimrc
cp -r .vim/ $HOME/.vim/
# configure enviroment
mkdir school
mkdir documents
mkdir projects
cd projects/
mkdir c
mkdir html
mkdir python
mkdir rust
mkdir shell
mkdir other
cd ..
# wallpaper
wget https://cdn.osxdaily.com/wp-content/uploads/2018/06/macos-mojave-night-lightened-r.jpg -O sand-dunes.jpg
sudo mv sand-dunes.jpg /usr/share/backgrounds/
nitrogen /usr/share/backgrounds/sand-dunes.jpg
# ohmyzsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# vim setup
git clone --depth 1 https://github.com/codota/tabnine-vim
sudo mv tabnine-vim $HOME/.vim/tabnine-vim
git clone https://github.com/preservim/nerdtree.git ~/.vim/pack/vendor/start/nerdtree
vim -u NONE -c "helptags ~/.vim/pack/vendor/start/nerdtree/doc" -c q