aboutsummaryrefslogtreecommitdiff
path: root/install.sh
blob: 3d8f7105879dfa20c582febab947c9a79059caf8 (plain)
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
#!/bin/bash

dir=~/Dotfiles;
files=`cat $dir/files`;

# Symlink profiles
for file in $files; do
    echo "Creating symlink for " + $file;
    ln -s $dir/$file ~/.$file;
done

## Symlink to .config
ln -s $dir/i3.conf ~/.config/i3/config
ln -s $dir/rofi.conf ~/.config/rofi/config

# Generate folders
mkdir ~/Text;
mkdir ~/Code;
mkdir ~/Code/Learning;
mkdir ~/Code/Projects;
mkdir ~/Code/Templates;
mkdir ~/School;

touch ~/Text/notes.org;
touch ~/Text/todo.org;
touch ~/Text/calendar.org;

# get templates
declare -a templates=("CTemplate" "CPPTemplate" "PythonTemplate"
                      "NodeTemplate" "ArduinoTemplate");
for template in ${templates[@]}; do
    git clone https://github.com/Oreodave/$template ~/Code/Templates/$template;
done

# get doom emacs
git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
~/.emacs.d/bin/doom install;
~/.emacs.d/bin/doom sync;